Font
- this
this(ubyte[] fontData)
Loads a TTF file. fontData should be the content of that file.
A destructor is present on this object, but not explicitly documented in the source.
- getAscent
float getAscent(float fontSizePx)
- getDescent
float getDescent(float fontSizePx)
- getHeightOfx
float getHeightOfx(float fontSizePx)
- measureText
box2i measureText(StringType s, float fontSizePx, float letterSpacingPx)