D
David Lindgren
Hello!
I am using Graphics.DrawString to draw some text on my usercontrols and I
have discovered that when I turn on edge smoothing in Windows XP some of my
drawn text appears as if it was bold. Not all text is affected though. It
seems that only text that is drawn on a transparent surface (Bitmap) gets
messed up.
For better understandning of my problem take a look at these screenshots:
This is what it should look like:
http://www.lowrad.net/files/screenshots/Standard.jpg
Change the setting for smooth edges from "Standard" to "ClearType" :
http://www.lowrad.net/files/screenshots/Settings.jpg
This is how it looks with ClearType:
http://www.lowrad.net/files/screenshots/ClearType.jpg
As you can see, the text that is drawn on the orange colored surface is only
slightly affected, while the text that is drawn on the transparent surface
looks like it is bold.
My question is: Can I do something to prevent the ClearType smothing from
affecting my drawing beside from stop drawing on transparent surfaces?
Thanks for you help!
/David.
I am using Graphics.DrawString to draw some text on my usercontrols and I
have discovered that when I turn on edge smoothing in Windows XP some of my
drawn text appears as if it was bold. Not all text is affected though. It
seems that only text that is drawn on a transparent surface (Bitmap) gets
messed up.
For better understandning of my problem take a look at these screenshots:
This is what it should look like:
http://www.lowrad.net/files/screenshots/Standard.jpg
Change the setting for smooth edges from "Standard" to "ClearType" :
http://www.lowrad.net/files/screenshots/Settings.jpg
This is how it looks with ClearType:
http://www.lowrad.net/files/screenshots/ClearType.jpg
As you can see, the text that is drawn on the orange colored surface is only
slightly affected, while the text that is drawn on the transparent surface
looks like it is bold.
My question is: Can I do something to prevent the ClearType smothing from
affecting my drawing beside from stop drawing on transparent surfaces?
Thanks for you help!
/David.