Windows,@ font-face和Cyrillic

时间:2012-11-14 11:25:58

标签: html css windows font-face webfonts

我遇到了font-face和Cyrillic字符的问题。在OS X上的任何浏览器中显示时,字体都会正确呈现,但在Windows 7计算机上查看(chrome,即等)时,字体无法呈现。

字体已经通过Font Squirrel放置,文件附带的演示也失败了。

font-face css:

@font-face {
    font-family: 'open_sansregular';
    src: url('opensans-regular-webfont.eot');
    src: url('opensans-regular-webfont.eot?#iefix') format('embedded-opentype'),
         url('opensans-regular-webfont.woff') format('woff'),
         url('opensans-regular-webfont.ttf') format('truetype'),
         url('opensans-regular-webfont.svg#open_sansregular') format('svg');
    font-weight: normal;
    font-style: normal;
}

这是我问题的一个非常基本的例子。 http://joshmahony.com/font_test/opensans-regular-demo.html

编辑:我已经更新了我的链接,所以字体后退到新罗马时代,并添加了一些英文字符来表明西里尔字母正在倒退。

1 个答案:

答案 0 :(得分:3)

您可能已经生成了一个不包含西里尔字符的Open Sans版本。使用Google Web Fonts页面,您需要检查用户界面中的相关复选框。对于俄语,我想检查“西里尔语”就足够了,不需要“西里尔语扩展”。

选择是在“几乎完成”页面的“2”下进行的。选择你想要的字符集“。