gpt4 book ai didi

html - Chrome 中的字体渲染问题 - Google Web Fonts

转载 作者:行者123 更新时间:2023-11-28 08:08:03 25 4
gpt4 key购买 nike

我在 Chrome 上遇到了一个奇怪的 Google 字体呈现问题。这就是我的意思:

IE 10: enter image description here

FireFox 36.0.4: enter image description here

Chrome 41.0.2272.118 米: enter image description here

这是特写(Chrome):

enter image description here

我使用的字体叫做“Playfair”,可以在 Google Fonts 上免费获得。这是我的 CSS/SCSS:

@import url("http://fonts.googleapis.com/css?family=Playfair+Display:400,400italic");

.foo{
font-family:$playfair;
font-style: italic;
font-weight:normal;
color: $light_grey;
font-size:12px;
}

最佳答案

你试过字体平滑吗?

-webkit-font-smoothing: antialiased;

此外,尝试更改:

font-weight: normal;

到:

font-weight: 400;

关于html - Chrome 中的字体渲染问题 - Google Web Fonts,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/29405716/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com