Hello, when using lvgl and freetype, an error message “Failed to LookupSize” appears
The current code version used is 8.3.3
The configuration of freetype is as follows:
#if LV_USE_FREETYPE
/Memory used by FreeType to cache characters [bytes] (-1: no caching)/
#define LV_FREETYPE_CACHE_SIZE (1281024)
#if LV_FREETYPE_CACHE_SIZE >= 0
/ 1: bitmap cache use the sbit cache, 0:bitmap cache use the image cache. /
/ sbit cache:it is much more memory efficient for small bitmaps(font size < 256) /
/ if font size >= 256, must be configured as image cache /
#define LV_FREETYPE_SBIT_CACHE 1
/ Maximum number of opened FT_Face/FT_Size objects managed by this cache instance. /
/ (0:use system defaults) */
#define LV_FREETYPE_CACHE_FT_FACES 100
#define LV_FREETYPE_CACHE_FT_SIZES 100
#endif
#endif
I found this error message when reading the code ‘lv_ft_font_init_cache’, but I am not familiar with the internal logic of freetype, such as where FTC_Manager.LookupSize is taken from