[Mono-list] Drawing text with "ClearType"

Yves Goergen nospam.list at unclassified.de
Mon Nov 1 10:40:03 EDT 2010


On 01.11.2010 15:02 CE(S)T, Yves Goergen wrote:
> I've set
> TextRenderingHint to ClearTypeGridFit explicitly and it works well on
> Windows, it just doesn't have any effect on Mono 2.4.4 (Ubuntu 10.4).

That option doesn't have any effect at all. You can set it to SingleBit,
AntiAlias, ClearType or anything, it always does (greyscale) "AntiAlias".

To be more precise, most WinForms controls are greyscale, only
NumericUpDown, ComboBox and DateTimePicker render text with sub-pixel
antialiasing, which looks quite heavy BTW.

More web searches brought more unrelated results.

Most users have an LCD today and it doesn't hurt too much an CRT
displays. I've yet to test it on mobile devices which do more
resampling. But for now, sub-pixel antialiasing and light hinting (my
system setting) produces best results for me, especially at smaller
scales like graph axis labels.

-- 
Yves Goergen "LonelyPixel" <nospam.list at unclassified.de>
Visit my web laboratory at http://beta.unclassified.de


More information about the Mono-list mailing list