Google Fonts 'Rokkitt' not showing on IE11

南笙酒味 提交于 2020-01-06 15:17:50

问题


This website is failing to show the Google font 'Rokkitt' on IE11, it works fine on other browsers.

Is this down to the font developer or is it down to font-face issues in IE11?

Any help would be massively appreciated.

Website is found here: CLICK HERE


回答1:


The problem is that your markup specifies IE8 emulation mode:

<meta http-equiv="X-UA-Compatible" content="IE-EmulateIE8"></meta>

The Google font loader, though, only has access to the User-Agent string. It knows that the browser is IE11, but it doesn't know that your site has told the browser to behave like IE8. Thinking it's serving regular IE11, Google is only offering the font in .woff format. IE8 doesn't support .woff, so the browser (acting like IE8) ignores it.



来源:https://stackoverflow.com/questions/21482115/google-fonts-rokkitt-not-showing-on-ie11

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!