This function can be used to load a font from the file system and insert it into the font table. After that the font can be used. The font file must be a Beck Graphics Font file (extension .bgf). Before loading any font from the file system you can only use the system font.
|font ||This is an optional output parameter. If you pass the pointer to a GcFont object here, it will be filled with the loaded font's properties. This object can then be used to select the loaded font with gcSetFont(). Note that you must initialise the GcFont::structVer field prior to passing the object to this function. |
|path ||Path of the font file that is to be loaded |
- One of the following error codes is returned:
- See also: