
I'm using WPF 3.5, Visual Studio 2008 SP1, and developing for Windows XP SP3.
No matter what I do, the menu bar and menu items of my application are ugly, blurry, anti-aliased. WinForms, MFC and Win32 applications however have nice, crisp, clear menu items.
I've tried checking the "align to device pixels" box, but it only gives a marginal improvement.
I searched this forum, and came up blank. I searched the blogosphere/google, and came up blank. Surely I can't be the only person who find this highly annoying? I can't ship an app that looks like that.
Look at the "All" at the bottom of this menu, or the "File" in the menu bar, and compare to the good, regular Win32 menu on the right:
| Attachment | Size |
|---|---|
| bad-menu-fonts.png | 5.84 KB |
| good-menu-font.png | 14.93 KB |
Comments
A ClearType issue?
Have you checked if this has something to do with your ClearType font settings? WPF uses those by default. If you are using Windows XP, you can tune the appearance of your fonts. I guess bringing context menu on the desktop then selecting Appearance and from there Effects... coud be of help.
Cheers,
Veikko Eeva
The problem is that WPF
The problem is that WPF always anti-aliases, and does not use hinting information or pre-rendered bitmaps, even if they are in the font file. This is known and acknowledged by the Microsoft WPF engineering team, but they haven't yet fixed it.
I'm so dissapointed
WPF FONTS BLUR
I can't belive Microsoft came out with this shit. It's unussable, I've put a listbox, the single selection is buggy, the font selector is missing, the text is blured, the intellisense doesn't work.
They reccommend to use "bigger fonts" (WTF, ridiculous !)
The only reason I would have make this step is to improve the speed of rendering complex controls, like lists or whatever. But no, they screwed up all the good old things.
I'm switching back to Forms and maybe come back after few years. I'm so dissapointed.
Here some more tags:
WPF TREEVIEW FONTS
WPF Listbox
WPF button
WPF TUTORIAL
I'm so dissapointed WPF FONTS BLUR
I've been trying to figure out what causes this and what fixes it. I have the same problem with a Win XP game called Mig Alley. I use an NVIDIA card. In game text info bar is blurry in 3d. Exit out of 3d and
clear and crisp as day. I recall Falcon 4.0 having this problem but you could adjust the graphic card's "Textel Alignment" and fix it. No such thing with NVIDIA and its latest drivers. Interesting that you have isolated to the listbox. Is anyone else seeing this? Why do some applications work and others don't?
Are you sure that game uses
Are you sure that game uses WPF? Chances are, it might just be doing anti-aliased text rendering for the 3D viewport, which is a totally different problem (and one that the game developers could solve if they cared to).