Site Tools


documentation:development:opera:pf25:ppgfldr:smmfldr:ldofldr:01ldo117

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

documentation/development/opera/pf25/ppgfldr/smmfldr/ldofldr/01ldo117.txt · Last modified: 2022/10/10 16:53 by 127.0.0.1