diff --git a/tasmota/lvgl_berry/tasmota_lv_conf.h b/tasmota/lvgl_berry/tasmota_lv_conf.h index 252e9da4f..a028d8637 100644 --- a/tasmota/lvgl_berry/tasmota_lv_conf.h +++ b/tasmota/lvgl_berry/tasmota_lv_conf.h @@ -429,6 +429,7 @@ LV_FONT_DECLARE(robotocondensed_regular_40_latin1) \ LV_FONT_DECLARE(robotocondensed_regular_44_latin1) \ LV_FONT_DECLARE(robotocondensed_regular_48_latin1) \ + LV_FONT_DECLARE(lv_font_icons_10) \ LV_FONT_DECLARE(lv_font_icons_12) \ LV_FONT_DECLARE(lv_font_icons_14) \ LV_FONT_DECLARE(lv_font_icons_16) \ @@ -441,6 +442,7 @@ // LV_FONT_DECLARE(montserrat_tasmota_20) \ // LV_FONT_DECLARE(typicons24) \ +#define FONT_ICONS_10 1 #define FONT_ICONS_12 1 #define FONT_ICONS_14 0 #define FONT_ICONS_16 0 diff --git a/tasmota/tasmota_xdrv_driver/xdrv_52_3_berry_lvgl.ino b/tasmota/tasmota_xdrv_driver/xdrv_52_3_berry_lvgl.ino index 22f3afc85..a6d4ce7f8 100644 --- a/tasmota/tasmota_xdrv_driver/xdrv_52_3_berry_lvgl.ino +++ b/tasmota/tasmota_xdrv_driver/xdrv_52_3_berry_lvgl.ino @@ -284,6 +284,12 @@ extern "C" { // icons Font for sizes not covered by montserrat // if montserrat is defined, use it, else import icons font const lv_font_table_t lv_icons_fonts[] = { +#ifdef LV_FONT_MONTSERRAT_TASMOTA_10 + { 10, &lv_font_montserrat_tasmota_10 }, +#elif defined(FONT_ICONS_10) + { 10, &lv_font_icons_10 }, +#endif + #ifdef LV_FONT_MONTSERRAT_TASMOTA_12 { 12, &lv_font_montserrat_tasmota_12 }, #elif defined(FONT_ICONS_12)