Reference/Datatypes/FontDescriptor
Datatype · Userdata

FontDescriptor

userdatasince 1.6.13-alpha

Describes a font by its name-hash and pixel size. Created with font.get_font_descriptor and consumed by the immediate text-drawing functions. Madius-specific datatype.

Properties

2
NameTypeAccessDescription
FontSizenumberread

The pixel size the font was requested at.

since 1.6.13-alpha
FontHashnumberread

A 64-bit hash of the font's name (the name originally passed to font.get_font_descriptor).

since 1.6.13-alpha