Wierd字体渲染在Chrome中
因此,使用Chrome/Opera与Firefox的字体渲染,我面临着非常奇怪的问题。这是问题的预览,请注意粉红色文字。它在第一个示例中是模糊的,并且在重点进行文本输入之后会更改。每当我使用翻译元素时,也会发生同样的平滑性问题。
基本预览: 示例1
当将textarea集中在这些元素上方字体上方的范围内开始变得非常光滑,以及如何假设它是如何变得如此: 示例2
焦点时文本看起来更流畅。对这个问题有什么想法吗? Firefox没有这种问题。我也在使用:
* {
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
So I've faced really strange issue with font rendering with Chrome/Opera versus Firefox. Here's preview of an issue, please notice pink text. It's blurry in the first example and it changes after text input is focused. Same smoothness issue happen whenever I use translating an element.
Basic preview:
Example 1
While focusing textarea above those elements font starts to render really smooth and how it suppose to be:
Example 2
Text looks more smooth while focused. Any ideas for the problem? Firefox doesn't have this kind of issue. I'm also using:
* {
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
隐藏后面解决了这个问题。
Hiding backface resolved this issue.