From 5dc7356f99af31446ac00a0a0c8abef991d2e2a7 Mon Sep 17 00:00:00 2001 From: Gabor Kiss-Vamosi Date: Mon, 12 Apr 2021 12:14:15 +0200 Subject: [PATCH] fix(font) add warning if a compress font it used but LV_USE_FONT_COMPRESSED is not enabled --- src/font/lv_font_fmt_txt.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/font/lv_font_fmt_txt.c b/src/font/lv_font_fmt_txt.c index 780e090e9..d83235b22 100644 --- a/src/font/lv_font_fmt_txt.c +++ b/src/font/lv_font_fmt_txt.c @@ -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 }