SetFontGlyphSet: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
 
Line 1: Line 1:
{{navbar-last|AddCustomFontFile|ISurface}}
{{navbar-last|AddCustomFontFile|ISurface}}
=bool '''SetFontGlyphSet'''(HFont font, const char *windowsFontName, int tall,<br>int weight, int blur, int scanlines, int flags)=
=bool '''SetFontGlyphSet'''(HFont font, const char *windowsFontName,<br>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.
Using [[EFontFlags]], you can set up the HFont that has been allocated.  windowsFontName shouldn't necessarily be the same as the loaded ttf.
[[Category:ISurface]]
[[Category:ISurface]]

Revision as of 19:18, 9 May 2006

AddCustomFontFile Return to ISurface

bool 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.