丑陋的 WPF 文本渲染 - 无法在 Vista 上禁用硬件加速
我正在尝试 WPF 中的文本渲染问题(第三方应用程序和我的应用程序)。标签和其他文本无法正确显示,看起来有点模糊,并且周围呈现一些随机彩色像素。
我正在开发一台低端 crap 机器(SiS Mirage 3 显卡),具有 Vista SP1、.NET 3.5 SP1 和更新的显卡驱动程序。
另一个有类似问题的可怜人得到了回答,尝试禁用硬件使用 Microsoft 指令更改注册表项的 WPF 加速:
HKEY_CURRENT_USER\SOFTWARE\Microsoft\Avalon.Graphics\DisableHWAcceleration
对我来说最终的问题是:我在注册表中找不到“Avalon.Graphics”根本不。它不在那里。有人有线索吗?
谢谢。
I'm experimenting problems with text rendering in WPF (third party applications and mine too). Labels and other text don't display correctly, look a little blurred and are rendered with some random colored pixels around.
I'm working on a low end crap machine (SiS Mirage 3 graphics) with Vista SP1, .NET 3.5 SP1 and graphics driver updated.
Another poor souls having similar problems were answered to try disabling hardware acceleration for WPF using Microsoft instructions to change the registry key:
HKEY_CURRENT_USER\SOFTWARE\Microsoft\Avalon.Graphics\DisableHWAcceleration
The ultimate issue to me is: I can't find "Avalon.Graphics" in the registry at all. It's not there. Someone have a clue?
Thanks.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您是否尝试过创建它? MSDN 中特别提到了它,所以我认为它是正确的(或者更确切地说,我希望这是正确的:-))
Have you tried just creating it? It's specifically mentioned in MSDN, so I'd imagine it's correct (or rather I'd hope it was correct :-))
您尝试过设置 SnapToPixels 吗?这让我们的很多观点都产生了奇迹。不过我很清楚你在说什么。
尝试:
看看这是否会有所不同。
我注意到在应用 TextEffects 时出现了一些模糊,因此,如果您这样做,您可能需要考虑将其调低或关闭,看看会得到什么。
Have you tried setting SnapToPixels? This did wonders to a lot of our views. I know exactly what you are talking about, though.
Try:
And see if that makes a difference.
I have noticed a bit of blurring when applying TextEffects, so if you are doing that you might want to look at turning those down or off and see what you get.