WPF rendering is ugly and blurry on Vista

windows-vistawindows-xpwpf

Can anyone explain why this simple WPF application looks so horrible on Vista?
I've tried setting SnapsToDevicePixels, but this makes no difference.
This is a clean WPF application, nothing added whatsoever except for the one button.
Using VS 2008 SP1. In the IDE it looks perfect, but when running it is screwed. All WPF apps that I have run on this machine exhibit this behaviour.

On Very Weird Thing:
If I turn on the Vista Magnifier application, then the rendering comes right. Wondering if it's my video driver (Geforce 8600).

On XP:

WPF Button on XP http://img206.imageshack.us/img206/7339/wpfbuttonxp.png

On Vista:

WPF Button on Vista http://img23.imageshack.us/img23/5660/wpfbuttonvista.png

Project Source: UglyButton.zip

Best Answer

Why Vista would make a difference, I don't know...I'm not actually seeing your images for some reason, but I have had problems with pixel alignment and anti-aliasing in WPF in general, and this question/answer may provide some help for you.