
Fonts are used in all GUIs in the game.
| type | :: "font" | |
| name | :: string | Name of the font. |
Name of the font. | ||
| size | :: int32 | Size of the font. |
Size of the font. | ||
| from | :: string | The name of the fonts .ttf descriptor. [...] |
The name of the fonts .ttf descriptor. [...] | ||
| spacing optional | :: float | |
| border optional | :: boolean | Whether the font has a border. |
Whether the font has a border. | ||
| filtered optional | :: boolean | |
| border_color optional | :: Color | The color of the border, if enabled. |
The color of the border, if enabled. | ||
| from | :: string | The name of the fonts .ttf descriptor. [...] |
The name of the fonts .ttf descriptor. [...] | ||
| name | :: string | Name of the font. |
Name of the font. | ||
| size | :: int32 | Size of the font. |
Size of the font. | ||
| type | :: "font" | |
| border optional | :: boolean | Whether the font has a border. |
Whether the font has a border. | ||
| border_color optional | :: Color | The color of the border, if enabled. |
The color of the border, if enabled. | ||
| filtered optional | :: boolean | |
| spacing optional | :: float | |

Name of the font.

Size of the font.

The name of the fonts .ttf descriptor. This descriptor must be defined in the locale info.json. Refer to data/core/locale/_language_/info.json for examples.

Default: 0

The color of the border, if enabled.

Prototypes
Types
Defines