- This wiki is out of date, use the continuation of this wiki instead
Save fnt
From FenixWiki
(Difference between revisions)
Revision as of 13:28, 13 November 2007 (edit) Sandman (Talk | contribs) (New page: Category:functions Category:fonts == Definition == '''INT''' save_fnt ( <'''INT''' fontID> , <'''STRING''' filename> ) Saves a font as a file. A font is usually with the exte...) ← Previous diff |
Current revision (14:51, 13 November 2007) (edit) (undo) Sandman (Talk | contribs) m |
||
(One intermediate revision not shown.) | |||
Line 34: | Line 34: | ||
| Insufficient memory || - There is insufficient memory available. This error doesn't occur often. | | Insufficient memory || - There is insufficient memory available. This error doesn't occur often. | ||
|} | |} | ||
+ | |||
+ | {{Funcbox | ||
+ | | category=Fonts | ||
+ | }} |
Current revision
Contents |
[edit] Definition
INT save_fnt ( <INT fontID> , <STRING filename> )
Saves a font as a file. A font is usually with the extension ".fnt".
If the specified filename contains no extension, ".fnt" is added to it.
[edit] Parameters
INT fontID | - The fontID of the font to be saved. |
STRING filename | - The name of the font file to be saved, including a possible path. |
[edit] Returns
INT : Successrate
false | - Filename could not be obtained from the specified string (doesn't happen usually) or one of the errors. |
true | - Font successfully saved. |
[edit] Errors
Invalid fontID | - The specified fontID was invalid. |
Unable to create file | - The file could not be created. |
Font corrupt | - The font trying to be saved is corrupt. |
Insufficient memory | - There is insufficient memory available. This error doesn't occur often. |
Fonts Functions | |
• Get_glyph() • Load_fnt() • New_fnt() • Save_fnt() • Set_glyph() • |