SetFontGlyphSet

From Valve Developer Community
Jump to: navigation, search
AddCustomFontFile Return to ISurface
bool ISurface::SetFontGlyphSet(HFont font, const char *windowsFontName, int tall, int weight, int blur, int scanlines, int flags)

Using EFontFlags, you can set up the HFont that has been allocated. windowsFontName shouldn't necessarily be the same
as the loaded TTF file.