我正在使用模板集,在IE8中,webfonts在粗体,斜体,常规之间随机切换。我已经看到了这个问题:IE8 Renders font weights randomly,但如前所述,也可以在下面看到,我没有定义超过4个权重。为每个重量/样式指定不同的名称实际上不是一种选择。
我已经确定,字体的Content-Type是正确的,遗憾的是这不会导致问题。还有其他想法吗?
@font-face {
font-family: 'Name of Font';
src: url('../fonts/font-bold.eot');
font-weight: 700;
font-style: normal
}
@font-face {
font-family: 'Name of Font';
src: url('../fonts/font-italic.eot');
font-weight: normal;
font-style: italic
}
@font-face {
font-family: 'Name of Font';
src: url('../fonts/font-bolditalic.eot');
font-weight: 700;
font-style: italic
}
@font-face {
font-family: 'Name of Font';
src: url('../fonts/font-regular.eot');
font-weight: normal;
font-style: normal
}