feat(Kconfig): add FreeType config (#2846)

Change-Id: I581af22e639c124407ff003f17aaf76d413bba41
This commit is contained in:
guoweilkd
2021-12-01 02:01:36 +08:00
committed by GitHub
parent eeee48b1c9
commit 92da356bc4

22
Kconfig
View File

@@ -880,10 +880,24 @@ menu "LVGL configuration"
config LV_USE_FREETYPE
bool "FreeType library"
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_USE_FREETYPE
menu "FreeType cache config"
config LV_FREETYPE_CACHE_SIZE
int "Memory used by FreeType to cache characters [bytes] (-1: no caching)"
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"