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

VS2010 & .Net4 Released!

Yesterday we released VS2010 and .Net4. Now everyone can try out the new features that I have blogged about for nearly a year. In addition to the features that I worked on, my coworkers have been busy adding other great things like… Graphics Layout Rounding Cached Composition Pixel Shader 3 New Pixel Shader APIs Easing…

0

Additional WPF Text Clarity Improvements

During each milestone of WPF4, we have been working to improve our text rendering. WPF4 Beta2 included new text rendering and formatting modes. The RC contained additional bug fixes to our rendering. We hoped that this work would solve WPF’s text rendering issues. Overall, feedback on our improved text rendering was positive; however it was…

33

Visual Studio 2010 Crash On StartUp

If Visual Studio 2010 Beta2 (all systems) or RC (Win7) crashes every time at startup, you may have hit a known issue that we are working to resolve. It is uncommon (but possible) to update fonts in a strange enough order to cause the font cache to think a file has gone missing. Once this…

2

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

Custom Dictionaries

Most current editors provide built in spell checking which validates user input. Spell checkers can be found in anything from word processors, to email clients, and even web browsers. Depending on the scenario, these spell checking utilities vary in complexity. Simple spell checkers compare the input against a default dictionary and then highlight mismatches. More…

10

Bindable Run

Since the initial release of WPF, Run.Text has been a normal CLR property. This has meant that Run.Text lacks all the benefits of the WPF dependency property system, most notably the ability to be bound. In some cases, one could substitute Runs for TextBlocks, which can be bound to; however this can quickly create text…

4

Caret Brush

WPF provides extensive customizability to app authors, allowing them to change the default look and feel of most controls. One exception to this has been the color of the caret in WPF TextBoxes and RichTextBoxes.  Since this functionality was not originally provided, the community has been forced to create complex workarounds. In WPF 4.0, control…

0

Selection Brush

The default visual appearance of most objects in WPF can be easily tweaked, if not swapped out for a completely different visual tree.  This provides developers far greater power over the visual look of an application than ever before. Facilitating the creation of highly customized apps has become a major adoption point for WPF. Despite…

2