【发布时间】:2012-11-02 21:28:43
【问题描述】:
我遇到了字体和西里尔字符的问题。在 OS X 上的任何浏览器中显示时,字体会正确呈现,但在 Windows 7 机器(chrome 等)上查看时,字体无法呈现。
字体已经通过Font Squirrel,文件自带的demo也失败了。
字体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
编辑:我更新了我的链接,使字体回退到新罗马时代,并添加了一些英文字符以表明西里尔文正在回退。
【问题讨论】:
-
它为我渲染,顺便说一句,操作系统与此无关,它只是浏览器版本
-
它也是为我翻译的,上面写着 Dmitry Khlebnikov 领导了 2012 年“组织发展和人类潜力”实践
-
感谢您的快速回复。我意识到我的 Windows 版本的 Chrome 只是默认为其标准字体。所以你们正在运行 Windows,它以 Open Sans Regular 字体呈现?
-
我还注意到,在 OS X 上,任何西里尔字符都恢复为默认值,而英文字符和数字正在正确呈现,这就是您所看到的吗?
标签: html css windows font-face webfonts