Mac OSX上的Chrome渲染基本拉丁语块中的字体

时间:2012-08-01 02:02:48

标签: html css fonts font-face

问题是Mac OSX上的Chrome似乎是基本拉丁块中的渲染类型。我确实有一个使用font-face的IE条件样式表,但是我没有使用font-face来处理IE以外的任何东西。我猜这可能是内部系统字体问题(错误不在我自己的系统上),但我想确定。

以下是此文字的CSS:

@font-face {
    font-family: HelveticaNeue-Bold;
    src: url('type/helveticaneue/helveticaneue-bold.eot');
    src: local('☺'), url('type/helveticaneue/helveticaneue-bold.eot?#iefix') format('embedded-opentype'),
         url('type/helveticaneue/helveticaneue-bold.woff') format('woff'),
         url('type/helveticaneue/helveticaneue-bold.ttf') format('truetype'),
         url('type/helveticaneue/helveticaneue-bold.svg#helveticaneue-bold') format('svg');
    font-weight: normal;
    font-style: normal;
}

#Text {
    font-family: 'HelveticaNeue-Bold', Helvetica Neue, Helvetica, Arial, sans-serif!important;
    font-weight: 700;
}

这是IE的条件样式表中的CSS:

#Text {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    display: inline-block;
    width: 670px;
    margin: 0 0 54px 0;
    color: #c1c1c1;
}

文字如下:

Chrome rendering type in blocks

1 个答案:

答案 0 :(得分:1)

2012年4月:

  

希望谷歌Chrome开发团队正在为此制定解决方案,但不幸的是,从我在研究问题时可以看出,这个问题已经存在了一年多,虽然它不会影响Firefox, Safari或Opera,Chrome团队的工作似乎没有任何修复。

来源: http://www.jonathanjeter.com/web-development/browsers/google-chrome-mac-system-font-manager-problem/