Blind Comparison VS2008 vs. VS2010

The text clarity improvements in WPF4 bring WPFs text rendering to near GDI compatibility. Below is another set of comparison shots between VS2008 (GDI) and VS2010 (WPF4). These were taken with the newly released VS2010. I have intentionally not marked which screenshot is from which version of VS. Test yourself and see if you can…

4

ClearTypeHint

ClearType text filtering relies heavily on alpha blending (overview of ClearType). This algorithm must know the color of the text and the color behind the text before creating the final glyph bitmap. Determining the background color can sometimes be a very expensive process (eg. text in a container with a partially transparent background). In order…

3

WPF Text Measurement Units

The WPF text team has seen some people get confused about what units WPF uses when measuring text. Samer, a developer on the WPF text team, and I have created this post to try and shed some light on this subject. The first part of this post is very straight forward, whereas the end will…

3

New WPF 4.0 Features

WPF 4.0 Beta1 was released last month. While many exciting features were included in Beat1, there was no work targeting text, flow, or layout. This will all be reversed with WPF Beat2. Below is a brief overview for each of the features included in Beta2 which target text, flow, or layout. I will make subsequent…

14

DirectWrite Questions and Answers

Hi, my name is Mikhail Leonov, and I’m a Senior Software Development Engineer on the DirectWrite team at Microsoft. I would like to address common user feedback on DirectWrite in a relatively informal ‘simple question – simple answer’ format. Feedback themes were gathered mostly from the user comments on various DirectWrite related blogs. Please feel…

8

Tips for improving your WPF text rendering experience

WPF uses the latest version of ClearType to render text. This version of ClearType has a few new features over the standard ClearType used in GDI and WinForms. You can read more about these features here.     We’ve found that a couple simple tips can improve your reading experience:   -Make sure your monitor…

5