>From MSDN:
-------------
Windows NT 4.0 and later: Font is antialiased, or smoothed, if the font
supports it and the size of the font is not too small or too large.
Windows 95 with Plus!, Windows 98/Me: The display must greater than 8-bit
color, it must be a single plane device, it cannot be a palette display, and
it cannot be in a multiple display monitor setup. In addition, you must
select a TrueType font into a screen DC prior to using it in a DIBSection,
otherwise antialiasing does not happen.
-------------
Also check this out, he talks a bit about situations where Windows
will/won't honor the flag:
http://unreal.epicgames.com/TTFImport.htm
Hope this helps.
Grisha Spivak wrote:
> Hi,
> During writing the routine on creating font texture I have faced with
> strange behaviour of CreateFontIndirect.
> When I set lfQuality in LOGFONT structure to ANTIALIASED_QUALITY I get
> NONantialiased font.
>
> With over values of lfQuality I get following results:
>
> with antialiasing settings set to ClearType in
> DisplayProperties/Appearance/Effects:
>
> DEFAULT_QUALITY - ClearType (color pixels)
> DRAFT_QUALITY - antialiased font (grayscale)
> PROOF_QUALITY - ClearType
> NONANTIALIASED_QUALITY - nonantialiased
> ANTIALIASED_QUALITY - nonantialiased - WHY????
> CLEARTYPE_QUALITY - ClearType
>
> with antialiasing settings set to Standard:
> all - nonantialiased, only CLEARTYPE_QUALITY - ClearType
>
> with antialiasing settings set to Off:
> all - nonantialiased
>
> lfFaceName is "Courier New"
> lfHeight = -20
>
> Is it normal?
>
> -grisha
>
>
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: SlickEdit Inc. Develop an edge.
> The most comprehensive and flexible code editor you can use.
> Code faster. C/C++, C#, Java, HTML, XML, many more. FREE 30-Day Trial.
> www.slickedit.com/sourceforge
> _______________________________________________
> Gamedevlists-windows mailing list
> Gam...@li...
> https://lists.sourceforge.net/lists/listinfo/gamedevlists-windows
> Archives:
> http://sourceforge.net/mailarchive/forum.php?forum_id=555
|