diff --git a/include/lv_conf_v7.h b/include/lv_conf_v7.h index c89700e0..04b82f8a 100644 --- a/include/lv_conf_v7.h +++ b/include/lv_conf_v7.h @@ -349,6 +349,36 @@ typedef void* lv_indev_drv_user_data_t; /*Type of user data in the in #if TFT_WIDTH>=320 || TFT_WIDTH>=480 +#ifdef WT32SC01 + +#ifndef HASP_FONT_1 +#define HASP_FONT_1 robotocondensed_regular_16_ascii /* 5% Width */ +#endif +#ifndef HASP_FONT_2 +#define HASP_FONT_2 robotocondensed_regular_24_ascii /* 5% Width */ +#endif +#ifndef HASP_FONT_3 +#define HASP_FONT_3 robotocondensed_regular_32_ascii /* 10% Width */ +#endif +#ifndef HASP_FONT_4 +#define HASP_FONT_4 robotocondensed_regular_48_ascii /* 10% Height */ +#endif + +#ifndef ROBOTOCONDENSED_REGULAR_16_ASCII +#define ROBOTOCONDENSED_REGULAR_16_ASCII 1 +#endif +#ifndef ROBOTOCONDENSED_REGULAR_24_ASCII +#define ROBOTOCONDENSED_REGULAR_24_ASCII 1 +#endif +#ifndef ROBOTOCONDENSED_REGULAR_32_ASCII +#define ROBOTOCONDENSED_REGULAR_32_ASCII 1 +#endif +#ifndef ROBOTOCONDENSED_REGULAR_48_ASCII +#define ROBOTOCONDENSED_REGULAR_48_ASCII 1 +#endif + +#else // not WT32SC01 + #ifndef HASP_FONT_1 #define HASP_FONT_1 robotocondensed_regular_16_latin1 /* 5% Width */ #endif @@ -375,7 +405,9 @@ typedef void* lv_indev_drv_user_data_t; /*Type of user data in the in #define ROBOTOCONDENSED_REGULAR_48_LATIN1 1 #endif -#else +#endif // WT32SC01 + +#else // not 320x480 #ifndef HASP_FONT_1 #define HASP_FONT_1 robotocondensed_regular_12_latin1 /* 5% Width */