[GD-Windows] CreateFontIndirect strage behaviour
Brought to you by:
vexxed72
From: Grisha S. <_g...@tu...> - 2003-02-20 23:06:36
|
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 |