Alper Çelik's blog

a blog about my interests

About the author

Author Name is someone.
E-mail me Send mail

Recent posts

Recent comments

Authors

Disclaimer

The opinions expressed herein are my own personal opinions and do not represent my employer's view in anyway.

© Copyright 2008

WPF and blurry text

Lately I have been working on dynamic image generation module to be used in one of ASP.NET project.

I decided to do the image generation in WPF and separate the design template of the image to xaml file. I noticed that the texts generated inside the image is blurry.

DynamicImagerResult

After googling, what I learned is that WPF uses it's own ClearType implementation, and this has been causing blurry text specially with small font sizes. Some forum posts 2 years old, unfortunately with the RTM version of 3.5 there is no solution for this.

Even with the designer rendering of two elements with same properties and content can be different. I got this screenshot after changing one letter of text2 and reverting back. It made rendering of text2 sharp, but normally it is blurry. Can this be a bug of designer?, if so I would like that during runtime :)

WPFDesignerBlurryText

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Posted by Alper on Tuesday, June 17, 2008 1:23 PM
Permalink | Comments (1) | Post RSSRSS comment feed