/*Init freetype library *Cache max 64 faces and 1 size*/lv_freetype_init(64,1,0);/*Create a font*/staticlv_ft_info_tinfo; info.name ="./lv_lib_freetype/arial.ttf"; info.weight =16; info.style = FT_FONT_STYLE_NORMAL; lv_ft_font_init(&info);/*Create style with the new fo...
bool lv_freetype_init(uint16_t max_faces, uint16_t max_sizes, uint32_t max_bytes) { FT_Error error = FT_Init_FreeType(&library); if(error) { LV_LOG_ERROR("init freeType error(%d)", error); return false; } #if LV_USE_FT_CACHE_MANAGER error = FTC_Manager_New(...