Re: Disabling ClearType programmatically?
Jon Watte <[email protected]> Fri, 13 Jan 2006 21:30:05 -0800
| Newsgroups | gmane.games.devel.windows |
|---|---|
| Message-ID | <[email protected]> |
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. ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ Gamedevlists-windows mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/gamedevlists-windows Archives: http://sourceforge.net/mailarchive/forum.php?forum_id=555