网址是http://arethebaronsplaying.com/字体将不会呈现在IE
如果有人能解决这个问题对我来说,我会提供一些值得他们认真......。
我无法让我的字体在我的Rails应用程序中在IE 10或11中呈现。我在IE中收到以下错误:
"CSS3114: @font-face failed OpenType embedding permission check. Permission must be Installable."
我不在乎10点以前。我已经尝试了所有人已经提出的建议。
我用的字体松鼠字体生成,我添加了一个'的.htaccess'文件到我的根与它内部的以下内容:
Header set Access-Control-Allow-Origin "*"
我已经添加了元标记来<head>
<meta http-equiv="X-UA-Compatible" content="IE=10">
我被卡住了。这是我的CSS:
@font-face {
font-family: 'hamilton20';
src: asset_url('fonts/hamilton_wood_type_foundry_-_hwtunitgothic-720-webfont.eot');
src: asset_url('fonts/hamilton_wood_type_foundry_-_hwtunitgothic-720-webfont.eot?#iefix') format('embedded-opentype'),
asset_url('fonts/hamilton_wood_type_foundry_-_hwtunitgothic-720-webfont.woff') format('woff'),
asset_url('fonts/hamilton_wood_type_foundry_-_hwtunitgothic-720-webfont.ttf') format('truetype'),
asset_url('fonts/hamilton_wood_type_foundry_-_hwtunitgothic-720-webfont.svg#MonoSocialIconsFont') format('svg');
src: asset_url('fonts/hamilton_wood_type_foundry_-_hwtunitgothic-720-webfont.ttf') format('truetype');
font-weight: normal;
font-style: normal;
}
苏格兰威士忌,有人吗?
我想你可能需要将字体移动到CSS所在的同一个文件夹中。我必须在我正在处理的网站上做到这一点。 – Howli
您是否获得了嵌入字体的正确许可? – Alohci
@howlin'字体'目录位于存储CSS的stylesheets目录中。 – reknirt