Google Font (with a space on it) not rendering on IE7/IE8

纵饮孤独 提交于 2019-12-03 08:38:05

I guess you have also found this one: http://code.google.com/p/googlefontdirectory/issues/detail?id=1
(there was a post today regarding to Francois One, I guess it was yours)

There is a solution that works for me(I see the font now in IE6-9)

The most common reason fonts don't load in IE is because the font name table was coded wrong by the font author. That is definitely the case with Josefin. The Family Name + the Style Name must = The Full Name. Josephine fails this. FYI - fontsquirrel.com automatically corrects these problems in their webfonts.

This must be the reason, some wrong naming inside the original font which matters to IE

  1. Downloaded the TTF from google
  2. Uploaded the font at fontsquirrel.com and got my "@font-face-kit"
  3. Uploaded the created .eot inside the Kit
  4. Edited the css regarding to this bulletproof syntax

I changed only the URLs of the EOTs to my uploaded font, for the WOFF I still may use the google-font(But i guess it's better to use own files for every font, nobody knows how long the specific fonts will be reachable via the current URLs).

Also Note: the font-family-name to use inside the CSS has changed now to FrancoisOneRegular

http://jsfiddle.net/doktormolle/nLUgJ/

Try replace + sign to %20. I checked url with %20 and it works too, maybe it'll work for IE.

https://fonts.googleapis.com/css?family=Francois%20One

I think it may be the font itself check this

http://jsfiddle.net/gHury/1/

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!