Add LOAD_ALL_FONTS options to load all fonts
This commit is contained in:
parent
0769e49718
commit
8838c19f32
12
TFT_eSPI.h
12
TFT_eSPI.h
|
|
@ -48,6 +48,18 @@
|
||||||
#define SPI_TOUCH_FREQUENCY 2500000
|
#define SPI_TOUCH_FREQUENCY 2500000
|
||||||
#endif
|
#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
|
// 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)
|
// that does not exist (this is a temporary fix to stop ESP32 reboot)
|
||||||
#ifdef SMOOTH_FONT
|
#ifdef SMOOTH_FONT
|
||||||
|
|
|
||||||
|
|
@ -235,6 +235,9 @@
|
||||||
// this will save ~20kbytes of FLASH
|
// this will save ~20kbytes of FLASH
|
||||||
#define SMOOTH_FONT
|
#define SMOOTH_FONT
|
||||||
|
|
||||||
|
// If you want to load all fonts, including smooth fonts, define LOAD_ALL_FONTS
|
||||||
|
//#define LOAD_ALL_FONTS
|
||||||
|
|
||||||
|
|
||||||
// ##################################################################################
|
// ##################################################################################
|
||||||
//
|
//
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue