当我应用font-weight:bold
样式时,与其他浏览器相比,Safari的字体外观过于粗糙。我试着在一些网站中建议的CSS下面,但它仍然是一样的。Safari字体重量问题,文字太粗体
text-shadow: #000000 0 0 0px;
文本渲染的屏幕截图:
铬
Safari浏览器
这里是我的CSS声明:
p {
margin: 8px 5px 0 15px;
color:#D8D2CE;
font-size:11pt;
letter-spacing:-1px;
font-weight: bold;
font-family: LektonRegular;
}
@font-face {
font-family: 'LektonRegular';
src: url('myfonts/lekton-regular-webfont.eot');
src: url('myfonts/lekton-regular-webfont.eot?#iefix') format('embedded-opentype'),
url('myfonts/lekton-regular-webfont.woff') format('woff'),
url(myfonts/lekton-regular-webfont.ttf) format('truetype'),
url('myfonts/lekton-regular-webfont.svg#LektonRegular') format('svg');
font-weight: normal;
font-style: normal;
}
这怎么解决?
只有在Safari浏览器中才能观察到此问题! – user1184100 2012-02-26 05:09:26
您是否得到解决这个问题? – 2017-07-06 08:51:01