SetFontGlyphSet: Difference between revisions

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

Revision as of 19:35, 28 June 2006

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.