internet-explorer - Internet Explorer中TTF支持的状态是什么?

标签 internet-explorer fonts font-face webfonts true-type-fonts

我正在尝试确定Internet Explorer上TTF字体格式的支持状态。 (我手头没有任何Windows计算机可以尝试。)The table at caniuse指出,从版本9开始的IE支持TTF,但“仅在[字体]被设置为可安装时有效”。这意味着什么?该页面链接到a blog post on MSDN,它描述了IE9上更新的字体支持。它不是很清楚或明确;我认为“原始字体”是指ttf和otf。它说:“支持的字体格式包括...原始字体,嵌入权限设置为可安装”

因此,总而言之:

  • IE是否完全支持ttf字体?
  • 如果存在ttf支持,那么IE9,IE10和IE11是否有所不同?
  • 对于ttf字体,“嵌入权限设置为可安装”是什么意思?
  • 最佳答案

    因此,正如我在上面的问题中提到的那样,Internet Explorer从版本9开始提供了一些ttf支持,但“仅在[字体]被设置为可安装时有效”。

    一些背景:

    ...TrueType fonts have embedding "bits" which allow the creator of the font to decide the level of embedding that will be permitted. There are four different embedding bits: (1) no embedding, (2) embedding for view and print only, (3) embedding for view, print and editing, and (4) installable embedding.. Many small type design houses have set their embedding bits so that embedding of any kind is not permitted. ...



    Source (also contains a lot of other information on this)和这是Another source with similar info

    another question中,讨论了处理嵌入位。据透露,默认情况下,大多数字体都使用Font Squirrel Webfont生成器自动处理这些嵌入位。由于我已经通过字体松鼠运行了字体,所以我很高兴。我对CSS进行了调整,使其更喜欢TTF而不是WOFF进行测试,并使用webpagetest获得了以下结果:
  • IE8 Did not work with TTF. It fell back to EOT
  • IE9 Worked with TTF
  • IE10 Worked with TTF

  • 请注意,在未将嵌入位设置为可安装的情况下,我没有测试字体,不,我对此无话可说。但是一般的结论是,将嵌入位设置为可安装的时, TTF字体可在IE 9及更高版本中使用。

    关于internet-explorer - Internet Explorer中TTF支持的状态是什么?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/17694143/

    相关文章:

    javascript - 当我使用 jquery 函数单击时,IE 11 显示错误

    ios - Futura Condensed ExtraBold 在带有 UIFontDescriptor 的 ios 8 中不起作用

    iphone - iOS 在通过 javascript 完全加载后更改 UIWebView 中内容的字体

    javascript - 字体大小自动调整以适合

    html - @fontface 在黑莓操作系统 7 上

    font-face - 自定义字体未在 ionic 框架中加载

    jquery - 导航菜单在 Internet Explorer 中不起作用

    internet-explorer - 使用 Selenium WebDriver for IE 和 Chrome 捕获 JavaScript 错误

    html - 防止 Internet Explorer 10 移动版创建电话和地址链接

    css - Font-Face 在 WebKit 中不流畅