Firefox 字体失败
我知道这是一个常见问题,但我一直无法解决这个问题。我通过 tumblr 使用 Pictos webfont 作为此博客上的 CDN http://mrelliotb.tumblr.com/但是,在 FF 中它不会渲染。我正在寻找一种让它工作的方法和/或一种检测渲染失败的方法,以删除应该渲染的无关字母。
提前致谢!
I know this is a common issue, but I haven't been able to solve this issue. I'm using Pictos webfont via tumblr as a CDN on this blog http://mrelliotb.tumblr.com/, however, in FF it does not render. I'm looking for a way to make it work and/or a way to detect the failure in rendering as to remove the extraneous letters that should be rendered.
Thanks in advance!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
检查该线程中已接受答案的评论。它专门处理您的问题:
CSS @font-face 不适用于 Firefox,但适用于 Chrome 和 IE
简而言之,Firefox 不喜欢字体的跨域托管,您应该将它们直接进行 Base64 编码到样式表
中能通过使用此向导并选择高级/Base64 编码,轻松对您的字体进行 Base64 编码。
http://www.fontsquirrel.com/fontface/generator
Check the comments on the accepted answer in this thread. It deals specifically with your problem:
CSS @font-face not working with Firefox, but working with Chrome and IE
In a nutshell, Firefox does not like the cross-domain hosting for the fonts, and you should base64 encode them directly in to the stylesheet
You can easily base64 encode your font by using this wizard and selecting advanced/Base64 encode.
http://www.fontsquirrel.com/fontface/generator
在我的浏览器中,您的字体现在是 helvetics 而不是 pictos 网络字体。你的样式表中有一些@font-face吗?其次,如果 Firefox 出现问题,您只需确保您的配置位于
option->content->;字体处的前进按钮 ->确保您的设置允许网络呈现自己的字体
可能会有所帮助
from my browser, your font now is helvetics and not pictos web font. did you have some @font-face at your stylesheet? and second, if it is problem with firefox you just have to make sure your config at
option->content-> advance button at font -> make sure your the setting is allow the web render its own font
may this help