Remove default lvgl font (roboto).

This commit is contained in:
JF 2020-03-01 21:15:39 +01:00
parent 6f1857c503
commit dccef16180
2 changed files with 3 additions and 3 deletions

View File

@ -119,7 +119,7 @@ set(LVGL_SRC
libs/lvgl/src/lv_font/lv_font.h
libs/lvgl/src/lv_font/lv_font_fmt_txt.c
libs/lvgl/src/lv_font/lv_font_fmt_txt.h
libs/lvgl/src/lv_font/lv_font_roboto_16.c
# libs/lvgl/src/lv_font/lv_font_roboto_16.c
libs/lvgl/src/lv_font/lv_symbol_def.h
libs/lvgl/src/lv_themes/lv_theme.c

View File

@ -299,7 +299,7 @@ typedef void * lv_indev_drv_user_data_t; /*Type of user data in the i
/* Robot fonts with bpp = 4
* https://fonts.google.com/specimen/Roboto */
#define LV_FONT_ROBOTO_12 0
#define LV_FONT_ROBOTO_16 1
#define LV_FONT_ROBOTO_16 0
#define LV_FONT_ROBOTO_22 0
#define LV_FONT_ROBOTO_28 0
@ -320,7 +320,7 @@ typedef void * lv_indev_drv_user_data_t; /*Type of user data in the i
#define LV_FONT_CUSTOM_DECLARE
/*Always set a default font from the built-in fonts*/
#define LV_FONT_DEFAULT &lv_font_roboto_16
#define LV_FONT_DEFAULT NULL; // The default font is specified in the custom theme.
/* Enable it if you have fonts with a lot of characters.
* The limit depends on the font size, font face and bpp