JeZxLee Posted August 8, 2014 Share Posted August 8, 2014 Strange Behaviour Of Custom TTF Fonts In Firefox? Hi, I've noticed something strange with using custom TTF fonts in Mozilla Firefox Internet browser.If I load a new TTF font in my HTML5 application and run it in Firefox, the new TTF font will not display?I have to clear the Firefox browser history and rerun the application for the new TTF font to work? Here is my TTF font code:"index.css"body{ overflow:hidden; }@font-face{ font-family: 'Font-01'; src: url('fonts/Font01.ttf');}p{ font-family:Font-01;}@font-face{ font-family: 'Line-01'; src: url('fonts/Line01.ttf');}p{ font-family:Line-01;}The above code is inserted into my index.html file like this:<link REL="StyleSheet" TYPE="text/css" HREF="index.css">I am using current Mozilla Firefox on Kubuntu 14.04 LTS 64Bit.Any help would be appreciated, thanks! JeZxLee16BitSoft Inc.Video Game Design Studiowww.16BitSoft.com Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.