Home

FontPrototype

Fonts are used in all GUIs in the game.

Properties

type

name

Name of the font.

size

Size of the font.

from

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.

spacing

border

Whether the font has a border.

filtered

border_color

The color of the border, if enabled.