SetFontGlyphSet: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
 
(fugly page much?)
 
(4 intermediate revisions by 2 users not shown)
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 [[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.
Using [[EFontFlags]], you can set up the HFont that has been allocated. windowsFontName shouldn't necessarily be the same<br>as the loaded [[Wikipedia:TrueType|TTF]] file.
[[Category:ISurface]]
[[Category:ISurface]]

Latest revision as of 08:36, 5 November 2007

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.