开发者

Typeface.js not rendering fonts in Internet Explorer

just wodering if anyone has experience with Typeface.js ( http://typeface.neocracy.org ) and fixing issues of the font not being rendered in Internet Explorer ( 6, 7 and 8 ).

The font renders in Firefox and Safari fine, hover 开发者_运维技巧nothing is displayed in the Explorers. The font is not installed locally so I know that the script is working.

I am using the typical usage of

<div class="typeface-js" style="font-family: Optimer">
    TEXT HERE
  </div>

Any advice appreciated, thanks!


It looks like typeface.neocracy.org only gives you the TrueType font (.ttf) and not the Embedded OpenType (.eot) that's used by IE. Try passing the Optimer font through Font Squirrel and you should have better luck.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜