为什么Font-face不能在IE 11上工作?

问题描述:

我创建此网站:http://94.177.167.40/gmmcorporate 但我的CSS没有工作在IE 11(11.608.15063.0)。 之后不正确的字体和下拉菜单。 可以帮我吗?为什么Font-face不能在IE 11上工作?

传统上,Internet Explorer在Truetype字体中存在一些问题。他们应该支持自IE9以来,但似乎必须有一个特殊的位集,使字体“可安装”,如this answer中所述。

现在你可以尝试解决这个问题,或者您将您的字体为.eot格式,并把它们作为这样的IE浏览器的回退:

@font-face { 
    font-family: 'Noyh-Geometric'; 
    src: url('fonts/Noyh-Geometric.eot'); 
    src: url('fonts/Noyh-Geometric?#iefix') format('eot'), 
     url('fonts/Noyh-Geometric.ttf') format('truetype'), 
    font-weight: normal; 
    font-style: normal; 
} 

您propably可以省略结尾的?#iefix行,因为这只与IE6-8相关,如here所述。试一试,让我知道,如果这有帮助。