mirror of
https://github.com/HASwitchPlate/openHASP.git
synced 2025-07-26 20:56:37 +00:00
Update embedded TTF font
This commit is contained in:
parent
26092259cc
commit
fdf5053174
Binary file not shown.
@ -376,6 +376,7 @@ typedef void* lv_indev_drv_user_data_t; /*Type of user data in the in
|
||||
/*==================
|
||||
* FONT USAGE
|
||||
*===================*/
|
||||
#if HASP_USE_FREETYPE<=0
|
||||
#if TFT_HEIGHT>=480 && TFT_WIDTH>=480
|
||||
#ifndef ROBOTOCONDENSED_REGULAR_24_LATIN1
|
||||
#define ROBOTOCONDENSED_REGULAR_24_LATIN1 1
|
||||
@ -569,7 +570,7 @@ typedef void* lv_indev_drv_user_data_t; /*Type of user data in the in
|
||||
#ifndef HASP_FONT_SIZE_5
|
||||
#define HASP_FONT_SIZE_5 48
|
||||
#endif
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/* The built-in fonts contains the ASCII range and some Symbols with 4 bit-per-pixel.
|
||||
@ -673,7 +674,7 @@ typedef void* lv_font_user_data_t;
|
||||
// #define HASP_FONT_4 FONT_CONCAT(HASP_FONT_4_base, HASP_CHARACTER_SET)
|
||||
|
||||
/*Always set a default font from the built-in fonts*/
|
||||
#if LV_HIGH_RESOURCE_MCU>0
|
||||
#if HASP_USE_FREETYPE<=0 // LV_HIGH_RESOURCE_MCU>0
|
||||
// #define LV_FONT_CUSTOM_DECLARE LV_FONT_DECLARE(lv_font_montserrat_16);
|
||||
|
||||
// #define LV_FONT_CUSTOM_12 LV_FONT_DECLARE(robotocondensed_regular_12)
|
||||
@ -711,7 +712,7 @@ typedef void* lv_font_user_data_t;
|
||||
#define LV_THEME_DEFAULT_COLOR_PRIMARY LV_COLOR_RED
|
||||
#define LV_THEME_DEFAULT_COLOR_SECONDARY LV_COLOR_BLUE
|
||||
#define LV_THEME_DEFAULT_FLAG 0 //LV_THEME_MATERIAL_FLAG_NONE
|
||||
#if LV_HIGH_RESOURCE_MCU
|
||||
#if HASP_USE_FREETYPE<=0 //LV_HIGH_RESOURCE_MCU
|
||||
#define LV_THEME_DEFAULT_FONT_SMALL &HASP_FONT_1 //&lv_font_montserrat_12
|
||||
#define LV_THEME_DEFAULT_FONT_NORMAL &HASP_FONT_2 //&lv_font_montserrat_16
|
||||
#define LV_THEME_DEFAULT_FONT_SUBTITLE &HASP_FONT_3 //&lv_font_montserrat_22
|
||||
|
@ -52,7 +52,7 @@ build_flags =
|
||||
-D LVGL_FREETYPE_MAX_FACES=16 ; max number of FreeType faces in cache
|
||||
-D LVGL_FREETYPE_MAX_SIZES=16 ; max number of sizes in cache
|
||||
-D LVGL_FREETYPE_MAX_BYTES=16384 ; max bytes in cache
|
||||
-D LVGL_FREETYPE_MAX_BYTES_PSRAM=131072 ; max bytes in cache when using PSRAM
|
||||
-D LVGL_FREETYPE_MAX_BYTES_PSRAM=262144 ; max bytes in cache when using PSRAM
|
||||
; -- SimpleFTpServer build options -----------------
|
||||
-D HASP_USE_FTP=1
|
||||
-D FTP_SERVER_DEBUG
|
||||
|
Loading…
x
Reference in New Issue
Block a user