如何纠正 Visual Studio 2010 中模糊的字体渲染?
我最近开始在 VS2010 中工作,并立即注意到我使用的字体 Consolas 并不像 VS2008 中那样流行。首先,我以为我的设置没有导入,但我检查了一下,发现 Consolas 是默认文本!
这是一个非常小的细节,Mac 用户都知道的那种东西,但左边是稍微模糊的 VS2010 字体渲染,右边是 VS2008 渲染。它在“m”的腿和任何间距很小的字母上确实很突出。
有谁知道如何纠正吗?我可以在 Windows7 字体渲染中做些什么?
VS2010 VS2008 ![comparison of text rendering between VS2010 and VS2008][2]
好吧,我找到了解决方案。我必须再次运行 ClearType 向导。字体更强、更粗,颜色仍然相同。 GDI 下的蓝色和绿色要浅得多。
I recently started working in VS2010 and noticed right away that the font I use, Consolas, doesn't pop like it does in VS2008. First I thought my settings didn't get imported, but I checked and Consolas was the default text!
It's a really minor detail, the sort of stuff that Mac users are known for, but on the left is the slightly blurry VS2010 font rendering and on the right is the VS2008 rendering. It really stands out on the legs of the 'm' and any letter with tight spacing.
Anyone know how to correct? Something I can do in Windows7 font rendering?
VS2010 VS2008 ![comparison of text rendering between VS2010 and VS2008][2]
Okay I found the solution. I had to run the ClearType wizard again. The font is stronger, bolder, colors are still the same. Blues and greens are much lighter under GDI.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
看起来您的 ClearType 设置存在差异。两个屏幕截图都是来自同一台电脑吗?
编辑:如果 Visual Studio 2010 确实在内部使用 WPF,则 ClearType 引擎会有所不同,并且可能会产生略有不同的结果。然而,它确实响应系统范围的 ClearType 调谐器设置。这是一篇详细介绍的文章:
http://windowsclient.net/wpf/white-论文/wpftextclarity.aspx
Looks like differences in your ClearType settings. Are both screen shots from the same PC?
Edit: If Visual Studio 2010 does indeed use WPF internally, the ClearType engine is different and might produce subtly different results. It does however respond to the system-wide ClearType tuner settings. Here's an article that goes into detail:
http://windowsclient.net/wpf/white-papers/wpftextclarity.aspx