win32maxguiex.bmx:
Find this:
handle=CreateFontW( cfsize, 0,0,0,cfweight,..
(_style & FONT_ITALIC) ,..
(_style & FONT_UNDERLINE),..
(_style & FONT_STRIKETHROUGH),..
DEFAULT_CHARSET,..
OUT_DEFAULT_PRECIS,..
CLIP_DEFAULT_PRECIS,..
ANTIALIAS_QUALITY,..
DEFAULT_PITCH|FF_DONTCARE,..
_name.toWString())
Replace with this:
handle=CreateFontW( cfsize, 0,0,0,cfweight,..
(_style & FONT_ITALIC) ,..
(_style & FONT_UNDERLINE),..
(_style & FONT_STRIKETHROUGH),..
DEFAULT_CHARSET,..
OUT_DEFAULT_PRECIS,..
CLIP_DEFAULT_PRECIS,..
CLEARTYPE_QUALITY,..
DEFAULT_PITCH|FF_DONTCARE,..
_name.toWString())
Loaded GUI fonts will now have cleartype, if it is enabled. This is good for text editors.
|