refactor(freetype): refactor freetype params
This commit is contained in:
@@ -296,11 +296,7 @@ void lv_init(void)
|
||||
|
||||
#if LV_USE_FREETYPE
|
||||
/*Init freetype library*/
|
||||
# if LV_FREETYPE_CACHE_SIZE >= 0
|
||||
lv_freetype_init();
|
||||
# else
|
||||
lv_freetype_init(0, 0, 0);
|
||||
# endif
|
||||
lv_freetype_init(LV_FREETYPE_CACHE_FT_GLYPH_CNT);
|
||||
#endif
|
||||
|
||||
#if LV_USE_TINY_TTF
|
||||
|
||||
Reference in New Issue
Block a user