Font functions - Ambercroft/TFT_eSPI GitHub Wiki

Smooth font functions

fontHeight(int16_t FONT);

Return the height of a font (yAdvance for free fonts).
Returns uint16_t

fontsLoaded(void);

Returns a value showing which fonts are loaded (bit N set = Font N loaded).
Returns uint16_t


SORT ME

Put function here if uncertain the position to be placed on page.

#include "myfont.h"
#define MYFONT32 &myfont32pt8b // this is from "myfont.h" see bottom of file GFXfont
setFreeFont(MYFONT32);
Set the font to use.

showFont() NOTFOUND

unloadFont() NOTFOUND

loadFont() NOTFOUND

getUnicodeIndex(uniCode, uint16_t &gNUM); NOTFOUND