1
0
mirror of https://github.com/lvgl/lvgl.git synced 2025-01-28 07:03:00 +08:00

fix(font) add warning if a compress font it used but LV_USE_FONT_COMPRESSED is not enabled

This commit is contained in:
Gabor Kiss-Vamosi 2021-04-12 12:14:15 +02:00
parent cbb699fe88
commit 5dc7356f99

View File

@ -128,6 +128,7 @@ const uint8_t * lv_font_get_bitmap_fmt_txt(const lv_font_t * font, uint32_t unic
(uint8_t)fdsc->bpp, prefilter);
return LV_GC_ROOT(_lv_font_decompr_buf);
#else /*!LV_USE_FONT_COMPRESSED*/
// LV_LOG_WARN("Compressed fonts is used but LV_USE_FONT_COMPRESSED is not enabled in lv_conf.h")
return NULL;
#endif
}