我正在尝试确定Internet Explorer上TTF字体格式的支持状态。 (我手头没有任何Windows计算机可以尝试。)The table at caniuse指出,从版本9开始的IE支持TTF,但“仅在[字体]被设置为可安装时有效”。这意味着什么?该页面链接到a blog post on MSDN,它描述了IE9上更新的字体支持。它不是很清楚或明确;我认为“原始字体”是指ttf和otf。它说:“支持的字体格式包括...原始字体,嵌入权限设置为可安装”
因此,总而言之:
最佳答案
因此,正如我在上面的问题中提到的那样,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获得了以下结果:
请注意,在未将嵌入位设置为可安装的情况下,我没有测试字体,不,我对此无话可说。但是一般的结论是,将嵌入位设置为可安装的时, TTF字体可在IE 9及更高版本中使用。
关于internet-explorer - Internet Explorer中TTF支持的状态是什么?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/17694143/