Home › Forums › JavaScript › Preload a font-file (.ttf)? › Re: Preload a font-file (.ttf)?
March 8, 2010 at 4:34 am
#72135
noahgelman
Participant
The problem might be the format that you are putting it in the style sheet. Try this:
Code:
@font-face { font-family: navifont; src: url(‘fonts/dreamori.ttf’) format(“truetype”);}
body { font-family: navifont; }
If it still has arbitrary marks, it’s possible that that font file doesn’t support the character you are using.