Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/css/36.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Css @字体-字母A显示不正确_Css_Font Face - Fatal编程技术网

Css @字体-字母A显示不正确

Css @字体-字母A显示不正确,css,font-face,Css,Font Face,有人知道为什么字母A仅在Windows上的Chrome中显示不正确吗?所有其他浏览器都可以!甚至Mac上的chrome。以下是截图和URL: 这是我的字体代码: @font-face { font-family: 'cheap_pineregular'; src: url('fonts/cheap_pine_regular-webfont.eot'); src: url('fonts/cheap_pine_regular-webfont.eot?#iefix') for

有人知道为什么字母A仅在Windows上的Chrome中显示不正确吗?所有其他浏览器都可以!甚至Mac上的chrome。以下是截图和URL:

这是我的字体代码:

@font-face {
    font-family: 'cheap_pineregular';
    src: url('fonts/cheap_pine_regular-webfont.eot');
    src: url('fonts/cheap_pine_regular-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/cheap_pine_regular-webfont.woff2') format('woff2'),
         url('fonts/cheap_pine_regular-webfont.woff') format('woff'),
         url('fonts/cheap_pine_regular-webfont.ttf') format('truetype'),
         url('fonts/cheap_pine_regular-webfont.svg#cheap_pineregular') format('svg');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'cheap_pine_sanssans';
    src: url('fonts/cheap_pine_sans-webfont.eot');
    src: url('fonts/cheap_pine_sans-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/cheap_pine_sans-webfont.woff2') format('woff2'),
         url('fonts/cheap_pine_sans-webfont.woff') format('woff'),
         url('fonts/cheap_pine_sans-webfont.ttf') format('truetype'),
         url('fonts/cheap_pine_sans-webfont.svg#cheap_pine_sanssans') format('svg');
    font-weight: normal;
    font-style: normal;

}

您是否尝试过
-webkit字体平滑:抗锯齿样式?尝试暂时删除
@font-face
声明中对
woff
woff2
文件类型的引用。这是否只是:body{-webkit字体平滑:抗锯齿;}?我刚试过,但它似乎影响了错误,似乎也不起作用杰米。。。我删除了所有引用,但仍然显示错误。我还尝试了以下方法:@font-face{font-family:'cheap_-pine_-sans';src:url('font/cheap_-pine_-sans-webfont.svg#cheap_-pine_-sans')格式('svg');}在我在线阅读了一些内容之后。。。但是没有快乐