BitmapFont
Properties
The maximum descent of the Font. No character should extend further below the font's baseline than this. "Badly behaved" fonts do not adhere to this though. This field is taken from the font's meta-data, not from the shape of the glyph itself, and these can very well differ :-(
The width of all glyphs (if this is a fixed width font, otherwise 0.
The inverse slope of the caret which best matches the posture of this Font.
The width of the widest digit as well as "." and "-" Suitable for working out prefWidths of TextFields which contain only numbers.
The maximum ascent of the Font. No character should extend further above the font's baseline than this. "Badly behaved" fonts to not adhere to this though. This field is taken from the font's meta-data, not from the shape of the glyph itself, and these can very well differ :-(
Functions
Calculates the width of text in pixels. indentationColumns and startColumn are required to correctly work out the width of a tab character.