如何对支持的浏览器使用@font-face,对其他浏览器使用Cufon
我正在使用 HTML5 Boilerplate,并且必须使用自定义字体。
所以,我显然可以使用@font-face,但是旧浏览器呢?也许我可以使用 Cufon,但仅限于这些情况,甚至对于支持 @font-face 的浏览器也不能使用。
所以我想知道对于支持的浏览器使用 @font-face 以及对于其他浏览器使用 Cufon 的最佳方法是什么?
预先非常感谢您。
I'm using HTML5 Boilerplate and I have to use a custom font.
So, I can obviously use @font-face but what about old browsers? Maybe I can use Cufon, but only in these cases and not even for browsers that support @font-face instead.
So I'm wondering what is the best approach to use @font-face for supported browser and Cufon for the others?
Thank you so much in advance.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
如果您不关心 SVG 格式支持,LOFFS是您的完美解决方案。
If you don't care about the SVG format support, LOFFS is a perfect solution for you.