feat(Kconfig): add FreeType config (#2846)
Change-Id: I581af22e639c124407ff003f17aaf76d413bba41
This commit is contained in:
22
Kconfig
22
Kconfig
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user