Function Blam::Content::Fonts::LoadFont¶
Defined in File fonts.h
Function Documentation¶
-
HRESULT
Blam::Content::Fonts
::
LoadFont
(std::string path)¶ Load a font from disk.
Do NOT include full path to fontinfo.xml or the .bin extension - this is determined automatically.
- Return
S_OK if the font was loaded successfully. Otherwise, one of the following codes will be returned:
- Parameters
path
: - The path of the font, excluding any.bin
or/fontinfo.xml
suffixes.