【发布时间】:2013-02-16 05:54:10
【问题描述】:
IE8 上的 @font-face datauri 是否支持 .eot 字体?
IE8 上的 datauris 是否仅支持图像?
我知道 32KB 的限制。我的 .eot 字体的 base64 表示不超过此限制。
我的 css 声明是这样的:
@font-face {
font-family: 'MyFont';
src: url(data:font/opentype;base64,B1QAAB9TAAACAAI.....);
font-weight: normal;
font-style: normal;
}
【问题讨论】:
-
我会说:打开IE8试试看?
-
@MichaëlHompus 惊人的想法:)
-
我也遇到了同样的问题。我相信这是因为 IE8 将 datauri 限制为某些文件类型:en.wikipedia.org/wiki/Data_URI_scheme
标签: css fonts internet-explorer-8 webfonts eot