自定义字体在Chrome和Firefox中大量别名

时间:2014-09-03 18:39:42

标签: css google-chrome firefox font-face custom-font

我听说Chrome 37修复此问题,但目前,使用我的自定义字体而不是Chrome和Firefox,Opera和IE看起来要好得多。

实施例

  • 第一张图片Chunk-five是Chrome(在Firefox中相同)
  • 其次是IE中的Chunk-five(在Opera中相同)

enter image description here

enter image description here

编辑 - 这是我的字体声明

@font-face {
    font-family: 'ChunkFiveRegular';
    src: url('/Content/Fonts/Chunkfive-webfont.eot');
    src: local('☺'), 
         url("/Content/Fonts/Chunkfive-webfont.woff") format("woff"),
         url("/Content/Fonts/Chunkfive-webfont.ttf") format("truetype"),
         url("/Content/Fonts/Chunkfive-webfont.svg#webfontb5K2fJwj") format("svg");

    font-weight: normal;
    font-style: normal;
}

我该如何解决这个问题?

编辑 - 将svg线向上移动以修复Chrome而不是Firefox。

0 个答案:

没有答案