0
为什么最后两种字体在IE中不起作用?他们都在铬和FF工作。而在IE的前2项工作。这是什么原因?为什么某些@ font-face在IE中不起作用
@font-face {
font-family: "Bebasneue";
src: url('bebasneue.eot?') format('eot'), url('bebasneue.woff') format('woff'), url('bebasneue.ttf') format('truetype');
}
@font-face {
font-family: "corbel";
src: url('corbel.eot?') format('eot'), url('corbel.woff') format('woff'), url('corbel.ttf') format('truetype');
}
@font-face {
font-family: "LeagueGothic";
src: url('LeagueGothic-Regular.eot?') format('eot'), url('LeagueGothic-Regular.woff') format('woff'), url('LeagueGothic-Regular.ttf') format('truetype');
}
@font-face {
font-family: 'Lobster';
src: url('Lobster_1.eot?') format('eot'), url('Lobster_1.woff') format('woff'), url('Lobster_1.ttf') format('truetype');
}
它可能是行为不当的字体本身。我曾经遇到过腐败的EOT文件。您可以尝试再次使用Font Squirrel生成器(http://www.fontsquirrel.com/tools/webfont-generator)等服务转换它们。 – Henrik
哪个版本的ie?如果它小于9,你可能需要这样的东西:'src:url('webfont.eot?#iefix')format('embedded-opentype')' – Pete