Jump to content

Strange Behaviour Of Custom TTF Fonts In Firefox?


JeZxLee
 Share

Recommended Posts

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!

 

JeZxLee

16BitSoft Inc.

Video Game Design Studio

www.16BitSoft.com

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...