- This wiki is out of date, use the continuation of this wiki instead
Save fnt
From FenixWiki
(Difference between revisions)
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...)
Next diff →
Revision as of 13:28, 13 November 2007
Contents |
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.
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. |
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. |
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. |