Hi
First point to make: Please use an ESP32, best with 8MB (S3, C6) or 16MB (ESP32 Classic, S3, C6) Flash memory, that'll make life much easier.
1)
In your Custom.h file, enable all plugins and features you'll need.
2)
Also add enablers for the font size(s) you want:
Code: Select all
// # define ADAGFX_FONTS_EXTRA_8PT_INCLUDED // 8 extra 8pt fonts, should probably only be enabled in a private custom build, adds ~15.4 kB
// # define ADAGFX_FONTS_EXTRA_12PT_INCLUDED // 9 extra 12pt fonts, should probably only be enabled in a private custom build, adds ~28 kB
// # define ADAGFX_FONTS_EXTRA_16PT_INCLUDED // 5 extra 16pt fonts, should probably only be enabled in a private custom build, adds ~19.9 kB
// # define ADAGFX_FONTS_EXTRA_18PT_INCLUDED // 3 extra 18pt fonts, should probably only be enabled in a private custom build, adds ~13.8 kB
// # define ADAGFX_FONTS_EXTRA_20PT_INCLUDED // 1 extra 20pt fonts, should probably only be enabled in a private custom build, adds ~5.3 kB
// # define ADAGFX_FONTS_EXTRA_24PT_INCLUDED // 2 extra 24pt fonts, should probably only be enabled in a private custom build, adds ~11.1 kB
The extra
fonts for each font-size will then be enabled by default, for an exact list you can check in src/src/Helpers/AdafruitGFX_helper.h/.cpp. For ESP8266 some
fonts are still excluded (actually: not included by default) to not explode the binary size too much.
3)
Then build a matching Custom build from the PlatformIO environments list.
(Sometimes the first build fails for no obvious reasons during the Linking phase, then just build it again)
NB: These
fonts can be used on P095, P096 (ePaper display), P116, P131 (though not very useful) and P141 (monochrome display). P095 and P116 displays can be equipped with a touch panel, so you'll need either P099 or P123 (or both

) to support that.