在网页中加载外部字体。 Internet Explorer 的解决方案?
在所有像样的网络浏览器中,@font-face 只是用于将外部字体加载到您的网页中。但是,对于 IE9 之前的 IE 版本,这不起作用。我想使用 Ubuntu 字体系列。 有什么绝妙的想法吗?
In all decent webbrowsers @font-face just works for loading an external font into your webpage. However, for IE versions older than IE9 this does not work. I'd like to use the Ubuntu Font Family.
Any brilliant ideas?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
FontSquirrel 将为您创建正确的跨浏览器 CSS。
CSS 示例:
这适用于 IE7 及更高版本,当然还有所有其他浏览器。
FontSquirrel will create the proper cross-browser CSS for you.
Example CSS:
This works in IE7 and above and, of course, all other browsers.
您可以看看这篇文章:
另外: 如何将外部字体加载到 HTML 文档中?
You can have a look at this article:
Also: How do I load external fonts into an HTML document?