如上所述,我遇到了@font-face 无法在 IE9 中显示的问题,尽管它在包括 IE8 及以下的所有其他浏览器中都能正常显示。此外,当在我的计算机上本地查看时,IE9 确实会显示字体,只是在完全实时时不显示。
该网站是:
使用的代码是:
@font-face {
font-family: 'LeagueGothicRegular';
src: url('league_gothic_0-webfont.eot');
src: local('League Gothic Regular'), url('league_gothic_0-webfont.woff') format('woff'), url('league_gothic_0-webfont.ttf') format('truetype'), url('league_gothic_0-webfont.svg#webfonta36nFpyE') format('svg');font-weight: normal;font-style: normal;
}
有人知道为什么会发生这种情况吗?
干杯!
==============================================
编辑
我发现以下网站在 IE9 中可以显示相同的字体,任何想法他是如何做到的?