Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/html/84.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Html IE9字体不呈现_Html_Css_Fonts_Internet Explorer 9 - Fatal编程技术网

Html IE9字体不呈现

Html IE9字体不呈现,html,css,fonts,internet-explorer-9,Html,Css,Fonts,Internet Explorer 9,我检查了搜索结果,发现了大量的资源,但没有一个有效 Chrome、FF、IE7+8均以“Gotham Book”字体加载,效果极佳;然而,在IE9中,它只显示默认浏览器 在css中,这是我的@font字体 @font-face { font-family: "Gotham-Book"; src: url('../Fonts/Gotham-Book.eot?') format('embedded-opentype'), url('../Fonts/Gotham-Book.otf') f

我检查了搜索结果,发现了大量的资源,但没有一个有效

Chrome、FF、IE7+8均以“Gotham Book”字体加载,效果极佳;然而,在IE9中,它只显示默认浏览器

在css中,这是我的@font字体

@font-face {
font-family: "Gotham-Book";
src: url('../Fonts/Gotham-Book.eot?') format('embedded-opentype'), 
     url('../Fonts/Gotham-Book.otf') format("opentype"),
     url('../Fonts/Gotham-Book.ttf')  format('truetype');
}
我拿到票了吗?在url中,从

我将其添加到我的httpd.conf中(如堆栈上建议的那样)


标题集访问控制允许原点“http://localhost"
无济于事。有人对IE 9有什么建议吗


谢谢。

IE9正在使用woff格式的字体。看起来您没有提供。IE9正在使用woff格式的字体。看起来你没有提供它。

我通常使用-它为你生成所有必需的文件格式。谢谢你,现在在ie9中加载默认字体,然后加载新字体-有什么建议吗?下面是一些关于如何修复的建议:我通常使用-它为你生成所有必需的文件格式。谢谢你,现在在ie9中加载默认字体,然后加载新字体-有什么建议吗?下面是一些关于如何修复的建议:
<FilesMatch "\.(ttf|otf|eot|woff)$">
<IfModule mod_headers.c>
    Header set Access-Control-Allow-Origin "http://localhost"
</IfModule>
</FilesMatch>