windows 为什么字体在 Chrome 中出现锯齿状?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/46535842/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-08 19:57:34  来源:igfitidea点击:

Why do fonts appear jagged in Chrome?

windowsgoogle-chromefonts

提问by Hunter Nelson

My fonts seem to appear really jagged and and hard to read in chrome, how can I make them appear smooth? They didn't used to be like this.

我的字体在 chrome 中看起来真的很锯齿而且难以阅读,我怎样才能让它们看起来平滑?他们以前不是这样的。

回答by Hunter Nelson

In windows 10:

在 Windows 10 中:

  • Go to the windows search, search for "This PC" right click and choose properties
  • Go to advanced system settings
  • Click the settings button in the performance group
  • Check the box for "Smooth edges of screen fonts"
  • Restart computer and your fonts will be back to normal
  • 转到Windows搜索,搜索“此PC”右键单击并选择属性
  • 进入高级系统设置
  • 单击性能组中的设置按钮
  • 选中“平滑屏幕字体边缘”框
  • 重新启动计算机,您的字体将恢复正常

enter image description here

在此处输入图片说明

回答by Sandy MacPherson

try going here: chrome://flags/#enable-font-cache-scaling either disable or enable this setting (enable-font-cache-scaling) to see if it changes. Chrome seems to suddenly get jagged text inexplicably and this fixed it for me.

尝试去这里: chrome://flags/#enable-font-cache-scaling 禁用或启用此设置(enable-font-cache-scaling)以查看它是否更改。Chrome 似乎突然莫名其妙地出现锯齿状文本,这为我修复了它。

回答by gvb

The solution that worked for me was

对我有用的解决方案是

  1. Visit URL chrome://flags/
  2. Enable "Disable accelerated 2D Canvas"
  3. relaunch
  1. 访问 URL chrome://flags/
  2. 启用“禁用加速 2D 画布”
  3. 重新启动

回答by bill

Turning on hardware acceleration worked for me.

打开硬件加速对我有用。

回答by Toglik

Another possible cause:

另一个可能的原因:

Remote Desktop(aka RDC, MSTSC) can disable text smoothing per application.

远程桌面(又名 RDC、MSTSC)可以禁用每个应用程序的文本平滑。

If you are remotely connected to the machine with the font smoothing problem, and other remote applications are working normally, then this should fix it:

如果您通过字体平滑问题远程连接到机器,并且其他远程应用程序正常工作,那么应该可以解决它:

  1. Disconnect, and re-open the Remote Desktop Connection window.
  2. Click Show Options.
  3. Click the Experiencetab.
  4. Choose any setting except "Detect connection quality automatically" in the "Choose your connection speed..." listbox.
  5. Check the boxes as appropriate, making sure "Font smoothing" is checked.
  1. 断开连接,然后重新打开远程桌面连接窗口。
  2. 单击显示选项
  3. 单击体验选项卡。
  4. 在“选择您的连接速度...”列表框中选择“自动检测连接质量”以外的任何设置。
  5. 选中相应的框,确保选中“字体平滑”。

Also note, after a remote connection triggers this problem, you may still see the ugly fonts on the computer locally until you restart Chrome (or Windows).

另请注意,在远程连接触发此问题后,您可能仍会在本地看到计算机上的丑陋字体,直到您重新启动 Chrome(或 Windows)。

回答by lsu_guy

Disabling / re-enabling all the extensions worked for me. For version 66.0.3359.181 (Official Build) (64-bit), on Windows 10, here are the steps I used:

禁用/重新启用所有对我有用的扩展。对于版本 66.0.3359.181(官方构建)(64 位),在 Windows 10 上,以下是我使用的步骤:

  1. Go Chrome menu
  2. Select "More Tools"
  3. Select "Extensions"
  4. Disable all the extensions
  5. Close the page
  6. Shut down Chrome
  7. Re-start Chrome. Fonts now worked
  8. Run steps 1-3.
  9. This time, enable all the extensions
  10. Run steps 5-7. Fonts still work
  1. 转到 Chrome 菜单
  2. 选择“更多工具”
  3. 选择“扩展”
  4. 禁用所有扩展
  5. 关闭页面
  6. 关闭 Chrome
  7. 重新启动 Chrome。字体现在有效
  8. 运行步骤 1-3。
  9. 这一次,启用所有扩展
  10. 运行步骤 5-7。字体仍然有效

If the above don't work, follow the steps above, but enable one extension at a time. I needed to restart the browser to see the effects.

如果上述方法不起作用,请按照上述步骤操作,但一次启用一个扩展程序。我需要重新启动浏览器才能看到效果。

My machine config:

我的机器配置:

  1. Chrome version: 66.0.3359.181 (Official Build) (64-bit)
  2. OS: Windows 10 Pro
  1. Chrome 版本:66.0.3359.181(官方版本)(64 位)
  2. 操作系统:Windows 10 专业版

回答by Stacking For Heap

You will probably get all kind of pointless "adjust cleartype" ideas, but in general I would do a clean uninstall of GPU drivers, reinstall and possibly reinstall Chrome as well. More often than not there is a problem with your display drivers.

您可能会得到各种毫无意义的“调整 cleartype”的想法,但总的来说,我会彻底卸载 GPU 驱动程序,重新安装并可能重新安装 Chrome。通常情况下,您的显示驱动程序有问题。

回答by ElJefe Watson

I found this solution when I was above to do what gvb recommended:

当我在上面执行 gvb 推荐的操作时,我找到了这个解决方案:

  1. Visit URL chrome://flags/
  2. Enable Override software rendering list and enables GPU-acceleration on unsupported system configurations
  1. 访问 URL chrome://flags/
  2. 启用覆盖软件渲染列表并在不受支持的系统配置上启用 GPU 加速

Do note the big red letters as the top: WARNING! EXPERIMENTAL FEATURES AHEAD. I'm gathering though that something about my system isn't supported, but this worked anyhow.

请注意顶部的大红色字母:警告!未来的实验功能。我正在收集虽然不支持我的系统的某些内容,但无论如何这都有效。