FabGL
ESP32 VGA Controller and Graphics Library

◆ loadFont()

void fabgl::TerminalClass::loadFont ( FontInfo const *  font)

Set the font to use.

Terminal automatically choises the best font considering screen resolution and required number of columns and rows. Particular cases require setting custom fonts, so applications can use TerminalClass.loadFont().

Parameters
fontSpecifies font info for the font to set.