【发布时间】:2014-09-18 13:55:05
【问题描述】:
我正在使用@font-face 规则,它在 chrome 和 firefox 上运行良好,但在 IE 中打开时它不会读取特殊字符(ć、č、š ..)。是因为字体格式吗?我认为问题出在 .eot 中,但如果我删除它,那么它根本不会在 IE 中打开。有没有人有任何想法?
这是我的代码:
@font-face {
font-family: 'sommet_roundedregular';
src: url('sommet_rounded_regular.otf'),
url('sommet_rounded_regular-webfont.eot'),
url('sommet_rounded_regular-webfont.eot?#iefix') format('embedded-opentype'),
url('sommet_rounded_regular-webfont.woff2') format('woff2'),
url('sommet_rounded_regular-webfont.woff') format('woff'),
url('sommet_rounded_regular-webfont.ttf') format('truetype'),
url('sommet_rounded_regular-webfont.svg#sommet_roundedregular') format('svg');
font-weight: normal;
font-style: normal;
}
【问题讨论】: