CreateFont

From Valve Developer Community

Return to ISurface Continue to AddCustomFontFile

HFont ISurface::CreateFont()

Use this function before AddCustomFontFile to allocate an HFont. If there is a pointer to an IScheme, use GetFont to retrieve a font from the scheme.