gpt4 book ai didi

internet-explorer - IE9-CSS3111 : @font-face encountered unknown error

转载 作者:数据小太阳 更新时间:2023-10-29 09:15:59 35 4
gpt4 key购买 nike

我从 http://www.google.com/webfonts 嵌入了三种 Google 字体(Dosis、Open Sans、Lato)

除了 IE9 返回时它们都工作正常:

CSS3111: @font-face encountered unknown error. 
2HG_tEPiQ4Z6795cGfdivPY6323mHUZFJMgTvxaG2iE.eot

CSS3111: @font-face encountered unknown error.
KlmP_Vc2zOZBldw8AfXD5g.eot

CSS3111: @font-face encountered unknown error.
zLhfkPOm_5ykmdm-wXaiuw.eot

偶尔会破坏整个网站。

如何解决这个问题?

最佳答案

我找到了这个答案,它比接受的答案更直接地解决了问题,实际上,这不应该是答案:)

And now to our main highlight - the "CSS3111: @font-face encountered unknown error". This error is very ambiguous. If you have a look at MSDN again, you'll see its description says: "An unknown problem was encountered with the "Web Open Font Format (WOFF)", and "Embedded OpenType font (EOT)" of the Cascading Style Sheets (CSS) font". "Unknown Problem" doesn't sound too good to me - how am I supposed to solve an unknown problem? Fortunately we're given a hint here. It says: "Check source of the fonts". Indeed, CSS3111 is usually caused by an issue with the font's binary source. One of the popular online TTF to EOT converters for example produces EOT files with a NAME table that doesn't comply to the Microsoft standards, which results in EOT fonts that never load in IE and produce the CSS3111 error. So, when you experience a CSS3111, it is always good to try using a different TTF to EOT converter or font face generator.

来源:http://www.marinbezhanov.com/web-development/16/how-to-embed-webfonts-properly-and-how-to-solve-the-ambiguous-css3111-font-face-encountered-unknown-error/

关于internet-explorer - IE9-CSS3111 : @font-face encountered unknown error,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/11559592/

35 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com