Css @字体-字母A显示不正确
有人知道为什么字母A仅在Windows上的Chrome中显示不正确吗?所有其他浏览器都可以!甚至Mac上的chrome。以下是截图和URL: 这是我的字体代码: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
@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');}在我在线阅读了一些内容之后。。。但是没有快乐