Re: [GD-Windows] Disabling ClearType programmatically?
Brought to you by:
vexxed72
From: Jon W. <hp...@mi...> - 2006-01-14 05:30:15
|
MSDN documents CLEARTYPE_QUALITY as separate from ANTIALIAS_QUALITY, for Windows XP and above. You can also set NONANTIALIASED_QUALITY which will make the font not anti-alias (works on all Windows). A font needs to be selected into a physical device DC before it will do anti-aliasing. Thus, if you create a font, and only select it into a DIBsection DC, it will draw without anti-aliasing. You can then upload this text to a texture or whatnot to render to screen (or draw the DIBsection). It's roundabout, but documented, and works. Cheers, / h+ Brian Hook wrote: > On Fri, 13 Jan 2006 18:57:00 -0700, Andras Balogh wrote: > >>When you create your font with CreateFont(), you can specify the >>rendering type with the fdwQuality parameter. > > > I wasn't under the impression that it provided a fine grain selection > between CT, AA, and point sample? > > Brian -- -- The early bird gets the worm, but the second mouse gets the cheese. |