Gambas Documentation - /comp/gb.sdl2/font

# Font (gb.sdl2)

This class represents an SDL font.

It is either any TTF font loaded from a file, or the default Gambas bitmap font embedded inside the component.

This class is not creatable.
This class acts like a
Return a font from its name. If the name is `NULL`, then the default font is returned.
read-only
static array.

Static methods | Constants
--- | ---
Load | DefaultHeight

Properties | Methods
--- | ---
Ascent Bold Descent Fixed Italic Name Size | TextHeight TextWidth