Add LOAD_ALL_FONTS options to load all fonts

This commit is contained in:
gordoste 2019-10-03 22:14:33 +10:00
parent 0769e49718
commit 8838c19f32
2 changed files with 15 additions and 0 deletions

View File

@ -48,6 +48,18 @@
#define SPI_TOUCH_FREQUENCY 2500000
#endif
#ifdef LOAD_ALL_FONTS
#define LOAD_GLCD
#define LOAD_FONT2
#define LOAD_FONT4
#define LOAD_FONT6
#define LOAD_FONT7
#define LOAD_FONT8
#define LOAD_FONT8N
#define LOAD_GFXFF
#define SMOOTH_FONT
#endif
// Use GLCD font in error case where user requests a smooth font file
// that does not exist (this is a temporary fix to stop ESP32 reboot)
#ifdef SMOOTH_FONT

View File

@ -235,6 +235,9 @@
// this will save ~20kbytes of FLASH
#define SMOOTH_FONT
// If you want to load all fonts, including smooth fonts, define LOAD_ALL_FONTS
//#define LOAD_ALL_FONTS
// ##################################################################################
//