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

Load fnt

From FenixWiki

(Difference between revisions)
Jump to: navigation, search
Revision as of 11:12, 12 November 2007 (edit)
Sandman (Talk | contribs)
m
← Previous diff
Revision as of 14:51, 13 November 2007 (edit) (undo)
Sandman (Talk | contribs)
m
Next diff →
Line 26: Line 26:
| Format not recognized || - The format of the specified file could not be recognized. | Format not recognized || - The format of the specified file could not be recognized.
|} |}
 +
 +{{Funcbox
 +| category=Fonts
 +}}

Revision as of 14:51, 13 November 2007


Contents

Definition

INT load_fnt ( <STRING file> )

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

Parameters

STRING file - The path to and filename of the font file.

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.

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