I haven't had much success using antialiased fonts on my PocketPC... Here is how I create my font:
When I render my text (ExtTextOut), the font is definitely not antialiased (but it is when running the same code on my Desktop PC).
I am also wondering how one enables Cleartype font rendering?
- Code:
// Get the font Tahoma
LOGFONT lf;
memset( &lf;, 0, sizeof(lf) );
lf.lfHeight = - MulDiv( 28, ::GetDeviceCaps( hdc, LOGPIXELSY ), 72 );
lf.lfWeight = FW_HEAVY;
lf.lfQuality = ANTIALIASED_QUALITY;
_tcscpy( lf.lfFaceName, _T("Tahoma") );
HFONT hFont = ::CreateFontIndirect( &lf; );
When I render my text (ExtTextOut), the font is definitely not antialiased (but it is when running the same code on my Desktop PC).
I am also wondering how one enables Cleartype font rendering?