Font

Font that renders text to texture.

Members

Functions

getKerning
int getKerning(dchar prevChar, dchar currChar)
Undocumented in source.
getMetrics
Glyph getMetrics(dchar character)
Undocumented in source.

Properties

ascent
int ascent [@property getter]

Where the top is above the baseline

descent
int descent [@property getter]

Where the bottom is below the baseline

lineSkip
int lineSkip [@property getter]

Distance between each baselines

name
string name [@property getter]

Font name

size
int size [@property getter]

Default font size

Meta