LoadFont
Loads 3DO font file.
Synopsis
FontDescriptor * LoadFont (char *fileName, uint32 memTypeBits)
Description
Loads a font from the specified file and prepares it for use.
Use UnloadFont()
to release all resources acquired by LoadFont()
.
Arguments
- fileName
- Font file to load.
- memTypeBits
- Type of memory to load the font into (usually MEMTYPE_ANY).
Return Value
Pointer to a FontDescriptor structure that describes the font; returns NULL if the file is not found, is not a valid font file, or there is not enough memory to process the file.
Associated Files
lib3do.lib, fontlib.h
See Also
UnloadFont
, ParseFont