AddCustomFontFile: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
mNo edit summary
Line 1: Line 1:
{{navbar|CreateFont|ISurface|SetFontGlyphSet}}
{{navbar|CreateFont|ISurface|SetFontGlyphSet}}
=bool '''AddCustomFontFile'''(const char *fontFileName)=
=bool '''AddCustomFontFile'''(const char *fontFileName)=
Use this function before [[SetFontGlyphSet]] and after [[CreateFont]].
Use this function before [[SetFontGlyphSet]] and after [[CreateFont]] if it's not a standard system font.
[[Category:ISurface]]
[[Category:ISurface]]

Revision as of 20:22, 9 May 2006


bool AddCustomFontFile(const char *fontFileName)

Use this function before SetFontGlyphSet and after CreateFont if it's not a standard system font.