This wiki is out of date, use the continuation of this wiki instead

Load fnt

From FenixWiki

Jump to: navigation, search


Contents

[edit] Definition

INT load_fnt ( <STRING filename> )

Loads a FNT file into memory as a font. A font is usually with the extension .fnt.

[edit] Parameters

STRING filename - The filename of the FNT file that you wish to load (including extension and possible path).

[edit] Returns

INT : FontID

-1 - Error: file does not exist.
0 - Filename could not be obtained from the specified string (doesn't happen usually).
>0 - The FontID.

[edit] Errors

Format not recognized - The format of the specified file could not be recognized.


Fonts Functions
Get_glyph() • Load_fnt() • New_fnt() • Save_fnt() • Set_glyph() •
Personal tools