Re: [GD-Windows] CreateFontIndirect strage behaviour
Brought to you by:
vexxed72
From: Grisha S. <_g...@tu...> - 2003-02-21 11:57:14
|
I get this results only with lfFaceName set to "Courier New". With "Lucida Console" all works if antialiasing not disabled in DisplayProperties/Appearance/Effects. Both fonts is OpenType fonts, there is no other Courier New fonts in system (only bold&italic versions) and it supports antialiasing - i can get ClearType antialiasing on it, but can't get standard antialiasing. And I can't get antialiasig in any form if it is disabled in DisplayProperties/Appearance/Effects. Display is 32-bit color. And I select font into device context: HGDIOBJ hFontOld2 = SelectObject( GetDC( 0 ), (HGDIOBJ)hFont ); HGDIOBJ hFontOld1 = SelectObject( hDC, (HGDIOBJ)hFont ); HGDIOBJ hFontOld = SelectObject( hMemoryDC, (HGDIOBJ)hFont ); -grisha |