feat(Kconfig): add FreeType config
@@ -880,10 +880,24 @@ menu "LVGL configuration"
config LV_USE_FREETYPE
bool "FreeType library"
+ if LV_USE_FREETYPE
+ menu "FreeType cache config"
config LV_FREETYPE_CACHE_SIZE
int "Memory used by FreeType to cache characters [bytes] (-1: no caching)"
- depends on LV_USE_FREETYPE
default 16384
+ if LV_FREETYPE_CACHE_SIZE >= 0
+ config LV_FREETYPE_SBIT_CACHE
+ bool "enable sbit cache"
+ default n
+ config LV_FREETYPE_CACHE_FT_FACES
+ int "The maximum number of FT_Face(0: use defaults)"
+ default 0
+ config LV_FREETYPE_CACHE_FT_SIZES
+ int "The maximum number of FT_Size(0: use defaults)"
+ default 0
+ endif
+ endmenu
+ endif
config LV_USE_RLOTTIE
bool "Lottie library"
