AddCustomFontFile: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{navbar|CreateFont|ISurface|SetFontGlyphSet}}
{{navbar|CreateFont|ISurface|SetFontGlyphSet}}
=bool '''AddCustomFontFile'''(const char *fontFileName)=
=bool [[ISurface]]::'''AddCustomFontFile'''(const char *fontFileName)=
Use this function before [[SetFontGlyphSet]] and after [[CreateFont]].
Use this function before [[SetFontGlyphSet]] and after [[CreateFont]] if the desired font is not a standard system font.
[[Category:ISurface]]

Latest revision as of 19:32, 28 June 2006


bool ISurface::AddCustomFontFile(const char *fontFileName)

Use this function before SetFontGlyphSet and after CreateFont if the desired font is not a standard system font.