似乎无法让我的字体在 firefox 中工作,似乎在 IE、chrome 和 Safari 中工作正常
<style type="text/css">
@font-face {
font-family: MyCustomFont;
src: url("http://www.brightonorient.com/MTCORSVA.eot") /* EOT file for IE */
}
@font-face {
font-family: MyCustomFont;
src: url("http://www.brightonorient.com/MTCORSVA.TTF") /* TTF file for CSS3 browsers */
}
</style>
这是这里的网站,http://www.brightonorient.com - 首页文本 Brighton Orient 应为 Monotype corsiva。
感谢您的帮助
最佳答案
我通常使用 Font Squirrel 来满足我的 @font-face 需求,而且从来没有遇到过问题。检查this link查看故障排除提示是否提供任何帮助。如果有任何安慰的话,在我机器上的 Firefox 中,我可以看到字体加载正常并正确呈现。将 FireBug 扔到它上面也会显示正确加载的字体。不确定为什么你看不到它工作,除非你的 Firefox 不是最新的。
关于html - @font face 在 firefox 中不工作,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/9830785/