Hello Developer,
I am using joomla 2.5.4, tried generating my own font(uploaded both .ttf and .otf version) with the generator, but unable to use it on my joomla site upon upload. I tried to download some free cufon from "
www.cufonfonts.com/
" to try on my joomla site as well, but the downloaded fonts can't work as well.
However, I can use the pre-installed fonts like Gabrielle, just not my own fonts.
I really don't know what could be wrong, please help me!
I compared the JS code of Gabrielle, there's this part talking about the font family but I don't have this on my own generated font js file, could this be the main cause of the problem?
Cufon.registerFont({"w":840,"face":{"font-family":"Gabrielle","font-weight":400,"font-stretch":"normal","units-per-em":"1000","panose-1":"2 0 5 5 2 0 0 2 0 2","ascent":"800","descent":"-200","x-height":"9","cap-height":"4","bbox":"-118 - 243","underline-thickness":"60","underline-position":"-70","unicode-range":"U+0019-U+E003"},"glyphs":{" ":{"w":310},"!":
Mine
Cufon.registerFont((function(f){var b=_cufon_bridge_={p:[{"d":"26,-203v-1,0,-1,-1,-1,-2v1,0,1,1,1,2xm26,-194v-1,0,-1,0,-1,-1v1,0,1,0,1,1xm26,18v-1,0,-1,0,-1,-1v1,0,1,0,1,1xm29,-102v-1,0,-1,0,-1,-1v1,0,1,0,1,1xm29,-5r-4,0v1,-1,3,-1,4,0xm29,4v1,3,-2,2,-4,2v-1,-3,2,-3,4,-2xm32,-217r-4,0v1,-1,3,-1,4,0xm32,-186v1,3,-2,2,-4,2v-1,-3,2,-3,4,-2xm32,-176r-4,0v1,-1,3,-1,4,0xm32,-167v1,3,-2,2,-4,2v-1,-3,2,-3,4,-2xm32,-127v-1,0,-1,-1,-1,-2v1,0,1,1
Thanks,
Juan