Font

Constructor

Properties
Description

name

The font’s name or identifier.

size

The size of the font in points or pixels.

padding

Extra padding around each glyph in pixels.

antialiasing

Whether antialiasing (font smoothing) is enabled.

max_offset_y

The maximum vertical offset among all glyphs.

glyphs

Maps characters to glyph userdata objects.

Last updated