[Mono-list] Drawing text with "ClearType"

Yves Goergen nospam.list at unclassified.de
Mon Nov 1 10:02:41 EDT 2010


Hi again,

now that drawing images works for me, I'd like to know why Mono doesn't
use sub-pixel text rendering, known as ClearType on Windows. On my
Ubuntu desktop, everything around uses those funny colour fringes (I
verified with an on-screen loupe), just everything within the Mono
WinForms application is plain grey. This also - and more importantly -
affects Bitmaps drawn using Graphics.DrawString(). 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).

Several web searches for "mono cleartype[gridfit]" mostly showed results
with font names with "Mono" in them, like monospace or Andale Mono. The
Mono project doesn't seem to have that high importance here - or nobody
published anything about Mono and ClearType yet. So now I'm asking.

-- 
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