gpt4 book ai didi

css - Firefox 中的谷歌字体呈现像素化

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

我正在使用 Google Fonts 服务,我注意到某些字体在 Chrome 和 Firefox 中以不同的方式呈现。

See this example , 使用 Kite One 字体。

为什么 Firefox 对文本进行像素化处理?我可以通过 CSS 或服务器端做什么来避免这种像素化?

编辑:我使用 Google Fonts api 包含字体:

<link href='http://fonts.googleapis.com/css?family=Kite+One' rel='stylesheet' type='text/css'>

最佳答案

你可以试试这个技巧:text-shadow: 1px 1px 1px rgba(0,0,0,0.004);

警察的渲染是浏览器的一部分,不能真正由 css 定制。

关于css - Firefox 中的谷歌字体呈现像素化,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/28770123/

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