跟铬和歌剧没什么两样。但它在互联网浏览器和火狐上看上去很模糊。我研究和应用这些css,但仍然没有运气。我的firefox和版本是最新的。我没有用谷歌字体。这是我的风格。
@font-face {
font-family: 'Gotham-Bold';
src: url('../fonts/Gothambold/Gotham-Bold.eot');
src: url('../fonts/Gothambold/Gotham-Bold.eot?#iefix') format('embedded-opentype'), url('../fonts/Gothambold/Gotham-Bold.woff') format('woff'), url('../fonts/Gothambold/Gotham-Bold.ttf') format('truetype'), url('../fonts/Gothambold/Gotham-Bold.svg#') format('svg');
}
body{
text-rendering: optimizeLegibility;
text-rendering: geometricPrecision;
font-smooth: always;
font-smoothing: antialiased;
-moz-font-smoothing: antialiased;
-webkit-font-smoothing: antialiased;
-webkit-font-smoothing: subpixel-antialiased;
}firefox.中的视图

铬中的视图

还是没有运气。有什么想法吗?
发布于 2020-01-22 14:42:35
在火狐中出现模糊或像素化的文本可能是由于使用ClearType时没有打开。打开它:
我也有同样的问题,这件事对我来说很管用。来源。
https://stackoverflow.com/questions/44897652
复制相似问题