Dev - Lua Libraries
Lua Command: s3sprite.loadFont
Parameters
- string fontPath
Return Values
- int fontID
Signature
Description
Loads a font from an Angle Font FNT font definition file and returns its fontID for use with font commands like s3sprite.getFontWidth and s3sprite.createText.
fontPath must be relative to the folder of the current mod and point to an Angle Font FNT ASCII file.
fontPath must be relative to the folder of the current mod and point to an Angle Font FNT ASCII file.