Google Fonts'Rokkitt'不会在IE11上显示 [英] Google Fonts 'Rokkitt' not showing on IE11

查看:261
本文介绍了Google Fonts'Rokkitt'不会在IE11上显示的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

此网站未能在IE11上显示Google字体Rokkitt,在其他浏览器上可正常工作。

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

这是由字体开发人员还是下面是IE11中的字体表面问题?

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

任何帮助将被大量赞赏。

Any help would be massively appreciated.

点击这里

推荐答案

问题是您的标记指定了IE8仿真模式:

The problem is that your markup specifies IE8 emulation mode:

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

Google字型载入器只能存取 User-Agent 字符串。它知道浏览器是IE11,但它不知道你的网站告诉浏览器的行为像IE8。认为它提供常规IE11,Google只提供 .woff 格式的字体。 IE8不支持 .woff ,所以浏览器(就像IE8)忽略它。

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.

这篇关于Google Fonts'Rokkitt'不会在IE11上显示的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆