我已经尝试了使自定义字体在 Firefox 8.0 中工作的所有选项......但它们根本不工作。他们在 Firefox 7 及更低版本以及所有其他浏览器上工作(IE7、IE8、IE9、Safari ,铬合金)
我已经尝试了 MIME 类型的所有可能选项:
woff (application/octet-stream)
woff (font/woff)
woff (application/x-font-woff)
但结果是一样的......
font-face 对字体根本不起作用。我的 CSS 如下:
@font-face{
font-family:'My Font';
src: url('/Fonts/My Font-webfont.eot');
src:url('/Fonts/My Font-webfont.eot?#iefix')
format('embedded-opentype'),
url('/Fonts/My Font-webfont.woff')
format('woff'),
url('/Fonts/My Font-webfont.ttf')
format('truetype'),
url('/Fonts/gebooker-webfont.svg#My Font')
format('svg');
font-weight: normal;
font-style: normal;
}
所有字体均来自托管该站点的同一域。
谁能建议如何使字体在 Firefox 8 上工作?
任何形式的帮助将不胜感激!