FabGL
ESP32 Display Controller and Graphics Library
|
void setFont | ( | FontInfo const * | value | ) |
Sets font.
Only fonts large 8 pixels (width) are supported (ie 8x8, 8x9, 8x13, 8x14, 8x16, 8x19). This method must be called before SetResolution().
value | Font info |
Example:
// Setup 80x25 text mode. Remember to add: #include "fonts/font_8x19.h" fabgl::VGATextController VGAController; VGAController.begin(); VGAController.setFont(&fabgl::FONT_8x19); VGAController.setResolution();
Definition at line 87 of file vgatextcontroller.cpp.