• Upgrade your Internet Experience
  • Sign in
  • Microsoft.com
  • United States (English)
    Brasil (Português)Česká republika (Čeština)Deutschland (Deutsch)España (Español)France (Français)Italia (Italiano)Россия (Русский)대한민국 (한국어)中华人民共和国 (中文)台灣 (中文)日本 (日本語)香港特别行政區 (中文)
 
 
.NET Framework Developer Center
 
 
Home
 
 
Library
 
 
Learn
 
 
Downloads
 
 
Support
 
 
Community
 
 
Forums
 
 
 
.NET Framework Developer Center > .NET Development Forums > Windows Presentation Foundation (WPF) > WPF Text blurry
Ask a questionAsk a question
Search Forums:
  • Search Windows Presentation Foundation (WPF) Forum Search Windows Presentation Foundation (WPF) Forum
  • Search All .NET Development Forums Search All .NET Development Forums
  • Search All MSDN Forums Search All MSDN Forums
 

AnswerWPF Text blurry

  • Tuesday, August 29, 2006 8:59 PMDaikoku Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Vote As Helpful
    0
    Hi,

    I'm wondering if this is a known problem:
    I have a multi monitor setup and whenever I move a WPF window from one screen to the other the text becomes totally blurred. Also, moving the window across to the other screens is very slow. Sometimes, this blurry text effect also appears on the main monitor, for example when I expand a combo box, etc.
    Anybody knows what's going on there?

    Thanks,

    Tom
    • ReplyReply
    • QuoteQuote
     

Answers

  • Monday, September 18, 2006 9:38 PMSeema Ramchandani MSFT Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer
    Vote As Helpful
    0

    RE: performance of multi-adapter, multi-monitor system
    Tom and I followed up offline, I have been unable to repro the performance issue with a similar multi-monitor-multi-adapter-multi-IHV configuration. If other folks watching this thread have seen similar issues, please mail me.

    RE: WPF Text blurry
    Followup: In the linked jpg, all of WPF is shifted an odd amount (by 1-2 pixels). As WPF text is rendered via an algorithm handling subpixel placement, a slight shift in rendering causes the text to be very blurry. The issue does not repro when WPF hardware acceleration is disabled; without being able to reproduce the issue on my own machines, I am guessing that the shifting might be due to the interactions between the two video drivers.

    -SeemaR@Microsoft
    http://blogs.msdn.com/seema

    • ReplyReply
    • QuoteQuote
     

All Replies

  • Wednesday, August 30, 2006 6:28 AMJosephCooneyMVPUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Vote As Helpful
    0
    Try setting SnapsToDevicePixels="True" on the UIElement that looks blurry.

    This has been discussed before here http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=168948&SiteID=1 and here http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=391349&SiteID=1 Some people on some hardware seem to find WPF (and cleartype in general) to be too blurry for them.
    • ReplyReply
    • QuoteQuote
     
  • Wednesday, August 30, 2006 7:52 AMDaikoku Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Vote As Helpful
    0
    This happens with every WPF application, so if this is not fixed by default this is a huge problem. Also, as soon as I move the application to another screen it seems as the hardware drawing support is missing and everything is way laggy?
    • ReplyReply
    • QuoteQuote
     
  • Wednesday, August 30, 2006 7:57 AMDaikoku Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Vote As Helpful
    0
    Here is a screenshot that shows a WPF control halfway on anoter screen: http://www.kingvest.de/blur.png
    • ReplyReply
    • QuoteQuote
     
  • Wednesday, August 30, 2006 8:21 PMDaikoku Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Vote As Helpful
    0
    anyone? I think this is a real big problem
    • ReplyReply
    • QuoteQuote
     
  • Wednesday, August 30, 2006 8:47 PMSeema Ramchandani MSFT Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Vote As Helpful
    0

    Hi Tom,

    This problem has not reported before (the aforementioned SnapsToDevicePixels property does not affect Text).

    I wonder if your second monitor is actually set to its optimal resolution setting. Does non-Avalon text show up clearly on both monitors?

    -Seema

    • ReplyReply
    • QuoteQuote
     
  • Wednesday, August 30, 2006 10:54 PMDaikoku Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Vote As Helpful
    0
    yes, everything but WPF apps is perfectly fine
    • ReplyReply
    • QuoteQuote
     
  • Wednesday, August 30, 2006 11:00 PMDaikoku Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Vote As Helpful
    0
    here some proof: http://www.kingvest.de/blur2.png
    • ReplyReply
    • QuoteQuote
     
  • Monday, November 13, 2006 1:52 AMRei Miyasaka Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Vote As Helpful
    0

    Hi,

    I was expecting this to be fixed by release, but it hasn't been.

    I'm running the first release of .NET 3.0 on a Radeon 9600 with multiple monitors on Windows XP SP2.

    When I move the window from one monitor to the other, the text blurs, in the exact same way that the text blurs when it is being animated. However, when the text is animated, on the second monitor, rather than blurring more, it becomes clear -- extremely bizarre. I thought the blurring during animation was intentional, but evidently it's not. SnapsToDevicePixels has no effect.

    Furthermore, I have the same problem with the whole window contents being skewed when the window is moved. On the other hand, I can minimize it and restore it on the second monitor, which fixes the skewing, but doesn't fix the blurry text. It's most likely a separate bug altogether.

     

    This is a crucial problem affecting not just aesthetics but also legibility and usability; it must be fixed ASAP. Please contact me if you need more repro information.

     

    Thanks,

    Rei

    • ReplyReply
    • QuoteQuote
     
Need Help with Forums? (FAQ)
 
© 2009 Microsoft Corporation. All rights reserved.
Terms of Use
|
Trademarks
|
Privacy Statement