- This wiki is out of date, use the continuation of this wiki instead
 
Load fnt
From FenixWiki
(Difference between revisions)
												
			
			| Revision as of 14:51, 13 November 2007 (edit) Sandman (Talk | contribs) m ← Previous diff  | 
				Current revision (11:56, 29 February 2008) (edit) (undo) Sandman (Talk | contribs) m  | 
			||
| Line 3: | Line 3: | ||
| == Definition == | == Definition == | ||
| - | '''INT''' load_fnt ( <'''STRING'''  | + | '''INT''' load_fnt ( <'''STRING''' filename> ) | 
| - | Loads a  | + | Loads a [[FNT]] file into memory as a [[font]]. A font is usually with the extension ''.fnt''. | 
| == Parameters == | == Parameters == | ||
| {| | {| | ||
| - | | '''STRING'''  | + | | '''STRING''' filename || - The filename of the [[FNT]] file that you wish to load (including extension and possible path). | 
| |} | |} | ||
Current revision
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() • | |
