4

I've created a simple Winforms application in C#. When I run the application, the quality of text gets worse as shown in the picture below. I'm working on CORELDRAW control addon project where the result of execution is a button inside the coreldraw program . any help please ?

Before running:

before running

After running:

after running

Here is an animated back-and-forth comparison of a region of the two images. Animated comparison

here is my project :

super-design

  • It's a Windows Forms project? – Tarik Dec 17 '20 at 14:25
  • What dpi and percentage scaling is your screen? – Thomas Weller Dec 17 '20 at 14:26
  • It seems that the screen ratio for app has changed and that width is smaller then it was before. – Tatranskymedved Dec 17 '20 at 14:26
  • I'm assuming that the _"Super Design"_ item is a bitmap. That looks like a bitmap scaling issue, and not really a "resolution" issue – Flydog57 Dec 17 '20 at 14:37
  • it's a windows form but in a CORELDRAW control addon project . – Ali Suliman Dec 17 '20 at 14:41
  • The text has changed quality too. There is no clear-type on "Apply" and "Add". There is no anti-aliasing of the text of "Super Design" (it is rendered with only full-orange and full-white pixels, compared to smooth anti-aliased text with in-between shades.) – Wyck Dec 17 '20 at 14:41
  • my dpi is 100% and my percentage scaling is 768 * 1366 @ThomasWeller – Ali Suliman Dec 17 '20 at 14:44
  • It's the "quality" of the text that is affected, not the "resolution". – Wyck Dec 17 '20 at 14:46
  • 1
    Does that CorelDraw control have an "Antialias" or "Quality" property? – Thomas Weller Dec 17 '20 at 14:49
  • Curious to know if [BitmapScalingMode UseLayoutRounding or SnapsToDevicePixels](https://stackoverflow.com/questions/592017/my-images-are-blurry-why-isnt-wpfs-snapstodevicepixels-working) are affecting it. – Wyck Dec 17 '20 at 14:50
  • how could i know ? @ThomasWeller – Ali Suliman Dec 17 '20 at 14:51
  • Well, you are a programmer. You drag'n' drop the control onto the form and open the property window of it. Like with any other control. – Thomas Weller Dec 17 '20 at 14:52
  • It's suspicious that it looks correct in the _designer_ but not at runtime. Clearly the designer has the ability to render it with the correct quality settings. My ability to reproduce this issue is greatly limited because it seems to be specific to your CORELDRAW control (which I don't have access to). – Wyck Dec 17 '20 at 14:57
  • there is no a component called CORELDRAW control , however the result of execution is a control button inside the coreldraw program @ThomasWeller – Ali Suliman Dec 17 '20 at 14:57
  • Can you add the code that you use to add / render the control? – squillman Dec 17 '20 at 15:18

0 Answers0