logo
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Post a reply
From:
Message:

Maximum number of characters in each post is: 32767
Bold Italic Underline   Highlight Quote Choose Language for Syntax Highlighting Insert Image Insert an existing Attachment or upload a new File... Create Link   Unordered List Ordered List   Left Justify Center Justify Right Justify   Outdent Indent   More BBCode Tags
Font Color Font Size
Security Image:
Enter The Letters From The Security Image:
  Preview Post Cancel

Last 10 Posts (In reverse order)
Paul Rayman Posted: Sunday, February 7, 2016 4:59:40 AM(UTC)
 
WPF control fixed too
Paul Rayman Posted: Sunday, January 31, 2016 7:34:53 PM(UTC)
 
I have found the solution for WinForms application.
To resolve this problem you should add to your project a manifest file with following attributes:
Code:
  <application xmlns="urn:schemas-microsoft-com:asm.v3">
    <windowsSettings>
      <dpiAware xmlns="http://schemas.microsoft.com/SMI/2005/WindowsSettings">true</dpiAware>
    </windowsSettings>
  </application>
BelikovSeregy Posted: Sunday, January 31, 2016 7:52:22 AM(UTC)
 
Here is a very simple test file (text and 1pt rectangle):
GDrive ClarityTest.pdf
From onedrive

and result for WPF control and OneDrive (windows DPI is 125%).
ClarityTest

If you zoom in, you can see that is uses ClearType (colored subpixel antialiasing) and WPF control - no. I found that Chrome also doesn't use cleartype, but at least it works correctly with windows scaling:
UserPostedImage
BelikovSeregy Posted: Wednesday, January 27, 2016 12:03:46 AM(UTC)
 
Is there any way to improve text clarity when downscaled?
See attached image. WPF PDFviewer is at the top, and at the bottom is the same document loaded in WPF browser control (using Adobe ActiveX).
Text clarity problem

It looks a little better when Windows 10 scaling is set to 100%
UserPostedImage
But still, worse than Adobe.