API Reference › Font
namespace

Font

TrueType fonts for the retained UI and for Screen.draw_text-style drawing. Font.load reads a .ttf / .ttc file and returns a handle that a ui block's font: property or a text call takes.

Font.load(path: p) -> intLoad a TrueType font; returns a font handle.
← All symbols