From Valve Developer Community
Revision as of 08:36, 5 November 2007 by Baliame (talk | contribs) (fugly page much?)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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.