wpf text blurry blues?
- Posted: Oct 29, 2009 at 11:48 AM
- 560 Views
- 2 Comments
Loading User Information from Channel 9
Something went wrong getting user information from Channel 9
Loading User Information from MSDN
Something went wrong getting user information from MSDN
Loading Visual Studio Achievements
Something went wrong getting the Visual Studio Achievements
Have you hated how WPF has blurry text depending on what happens? Well, .Net 4.0 and WPF 4.0 fixes that. If you try out a version after Visual Studio 2010 beta 2, you can use these fixes as well. The MSDN Text blog outlines how to fix your text and the why / how of some of the blurriness. A lot comes from display screens not having a high enough DPI and subpixel rendering. But enough excuses and how can you fix it? Here is an example of how to do the look of the picture above.
<StackPanel> <TextBlock> Hello World ... Ideal text formatting </TextBlock> <TextBlock TextOptions.TextFormattingMode="Display"> Hello World ... Display text formatting </TextBlock> </StackPanel>
The blog posting talks about additional settings as well.
Comments have been closed since this content was published more than 30 days ago, but if you'd like to continue the conversation,
please create a new thread in our Forums,
or
Contact Us and let us know.
Follow the Discussion
Oops, something didn't work.
What does this mean?
Following an item on Channel 9 allows you to watch for new content and comments that you are interested in. You need to be signed in to Channel 9 to use this feature.What does this mean?
Following an item on Channel 9 allows you to watch for new content and comments that you are interested in and view them all on your notifications page.sign up for email notifications?
@Mat, saw that a few minutes after I posted it, thanks for the heads up. Should be fixed now.
The picture is not live. Thanks.
Remove this comment
Remove this thread
close