1

It seems like it would behoove me to learn this GDI replacement, WPF. I dropped some controls on a new WPF project and started looking around. It's obvious the playing field has changed again. If the past has taught me anything, I know I need to get this this thing under my belt (like it or not).

That being said, I'm not sure I can get my customers to swallow the fuzzy fonts. Some of them have trouble reading text on the screen as it is.

I found some mention of this on SO, but no real solutions I can duplicate:

WPF Blurry fonts issue- Solutions

Is it simply that the default font was poorly chosen? I'd rather not have to hack the registry on customer machines.

I was curious what other developers are doing to overcome this.

I'm using Visual Studio 2008 SP1.

Thanks in advance

Community
  • 1
  • 1
Robert H.
  • 5,864
  • 1
  • 22
  • 26
  • Did you find any solution for this issue, Actually I have the same issue here in my application and I am using WPF 3.5 with VS2010 – SharpUrBrain Apr 19 '11 at 12:35
  • @SharpUrBrain: Change the font to Tahoma. Everything should crisp up. I dislike the default font in Win7 and VS2010. Changing everything to Tahoma works. Changing the font in your WPF app via the designer should have the same effect, but I don't really know. I have been avoiding WPF like the plague. – Robert H. Apr 21 '11 at 13:50

2 Answers2

3

Is waiting until VS2010/.NET 4.0 ships (March 2010) a solution for you? If you're only starting to look at WPF now, I wouldn't have thought you'd be shipping a significant app before March. Of course, whether your customers will be willing to upgrade to .NET 4.0 is a different question.

Community
  • 1
  • 1
Jon Skeet
  • 1,421,763
  • 867
  • 9,128
  • 9,194
  • I cannot find a way to disable the anti-aliasing of text in WPF3.5 and as a result label or button text looks really bad. Ideally I'd like to disable anti aliasing globally for fonts. How can I accomplish this in WPF3.5? – SharpUrBrain Apr 19 '11 at 12:33
  • @SharpUrBrain: I don't know, I'm afraid. – Jon Skeet Apr 19 '11 at 12:34
1

There's one answer - upgrade to .net 4.0 and the new, improved WPF font stack, which allows for pixel-aligned font rendering. It took Microsoft actually using WPF for a business app (Visual Studio) for this fix to go in, I notice.

Philip Rieck
  • 32,368
  • 11
  • 87
  • 99