简体   繁体   English

字体在IE10中不起作用

[英]font-face doesn't work in IE10

I've absolutly no idea how to display the clarendon and kievit font on IE10.. When I refresh the webpage it starts with the clarendon font but then turns to another.. 我绝对不知道如何在IE10上显示clarendon和kievit字体。当刷新网页时,它以clarendon字体开始,然后又变成另一个。

this is the part of my code with the @font-face : 这是我的@ font-face代码的一部分:

@font-face {

    font-family: 'clarendonregular';
    src: url('fonts/clarendo-webfont.eot');
    src: url('fonts/clarendo-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/clarendo-webfont.woff') format('woff'),
         url('fonts/clarendo-webfont.ttf') format('truetype'),
         url('fonts/clarendo-webfont.svg#clarendonregular') format('svg');
    font-weight: normal;
    font-style: normal;
}

Dou you try webfont generator ? 您尝试使用webfont生成器吗? http://www.fontsquirrel.com/tools/webfont-generator http://www.fontsquirrel.com/tools/webfont-generator

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM