【问题标题】:font-face doesn't work in IE10字体在 IE10 中不起作用
【发布时间】:2013-11-19 17:09:08
【问题描述】:

我完全不知道如何在 IE10 上显示 clarendon 和 kievit 字体。当我刷新网页时,它以 clarendon 字体开始,然后变成另一个字体。

这是我的代码中带有@font-face 的部分:

@font-face {

    font-family: 'clarendonregular';
    src: url('fonts/clarendo-webfont.eot');
    src: url('fonts/clarendo-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/clarendo-webfont.woff') format('woff'),
         url('fonts/clarendo-webfont.ttf') format('truetype'),
         url('fonts/clarendo-webfont.svg#clarendonregular') format('svg');
    font-weight: normal;
    font-style: normal;
}

【问题讨论】:

  • 您使用的是哪个 Clarendon,您是如何生成字体文件的,HTML 是什么样的,您是否有脚本等。总之,请演示一个可测试的案例。对于 foobar 的大多数值而言,仅仅说“foobar 不起作用”并不是一个明确定义的问题。
  • 我已经使用了字体生成器。
  • 对此问题的修复有任何更新吗?我在 IE10 中看到了相同的行为。基本上,页面呈现正常,然后刷新字体恢复为衬线样式字体。

标签: html css fonts font-face internet-explorer-10


【解决方案1】:

你试试 webfont 生成器吗? http://www.fontsquirrel.com/tools/webfont-generator

【讨论】:

    猜你喜欢
    • 2016-01-13
    • 2013-03-25
    • 1970-01-01
    • 2017-01-27
    • 1970-01-01
    • 2013-12-02
    • 2013-11-13
    • 2013-08-29
    • 1970-01-01
    相关资源
    最近更新 更多