Generated fonts not working - SOLVED

More
6 years 10 months ago #1 by shjuan85
Hello, I have solved the problem by including the font family name, thanks! :D

Please Log in or Create an account to join the conversation.

More
6 years 10 months ago - 6 years 10 months ago #2 by shjuan85
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 -898.312 1181 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
Last edit: 6 years 10 months ago by shjuan85.

Please Log in or Create an account to join the conversation.

Support Development

Please consider a small donation to support development of the extensions on this site.



Joomla! Login

This is the normal Joomla! login module not the VirtueMart login module. Click the 'Create an account' button to see how you are redirected to the VirtueMart registration form when the KC VM Registration Redirect plugin is enabled.

Joomla! & WordPress Hosts

Managed Web Hosting by Liquid Web

This is our recommended web hosting provider for Joomla! & WordPress websites. This is the host that we use for websites that we build. Liquid Web has an excellent reputation, fast servers and most importantly awesome service! They have technicians that are familiar with Joomla! & WordPress.

Joomla! & WordPress Web Design and Development

If you are interested in having a website designed or redesign or need custom Joomla! or WordPress development, please visit Keashly.ca Consulting to view our Portfolio of Joomla! & WordPress website work.

Trademarks and logos remain the property of their respective organizations.
The Joomla!® name is used under a limited license from Open Source Matters in the United States and other countries.
Keashly.ca Consulting is not affiliated with or endorsed by Open Source Matters or the Joomla! Project.

Site Map Back to Top