Hi,
I've been updating one of my tools for generating a texture map containing a font set for use in rendering in-game text as texture mapped quads. At the moment I am using atialiased font smoothing -- I'm passing in ANTIALIASED_QUALITY for the fdwQuality parameter in the CreateFont() Win32 API function. I am working under WinXP so I'd like to use ClearType font smoothing. Only problem is that ClearType only works for TrueType fonts and OpenType fonts containing TypeType outlines. The vast majority of fonts shipped with WinXP are OpenType. Is there a simple Win32 API function that will tell me if an OpenType font contains a TypeType outline?
Thanks.
I've been updating one of my tools for generating a texture map containing a font set for use in rendering in-game text as texture mapped quads. At the moment I am using atialiased font smoothing -- I'm passing in ANTIALIASED_QUALITY for the fdwQuality parameter in the CreateFont() Win32 API function. I am working under WinXP so I'd like to use ClearType font smoothing. Only problem is that ClearType only works for TrueType fonts and OpenType fonts containing TypeType outlines. The vast majority of fonts shipped with WinXP are OpenType. Is there a simple Win32 API function that will tell me if an OpenType font contains a TypeType outline?
Thanks.