font: update lv_conf_template.h
This commit is contained in:
@@ -224,40 +224,26 @@ typedef void * lv_indev_drv_user_data_t; /*Type of user data in the i
|
||||
* FONT USAGE
|
||||
*===================*/
|
||||
|
||||
/* More info about fonts: https://docs.littlevgl.com/#Fonts
|
||||
* To enable a built-in font use 1,2,4 or 8 values
|
||||
* which will determine the bit-per-pixel. Higher value means smoother fonts */
|
||||
#define LV_USE_FONT_DEJAVU_10 4
|
||||
#define LV_USE_FONT_DEJAVU_10_LATIN_SUP 4
|
||||
#define LV_USE_FONT_DEJAVU_10_CYRILLIC 4
|
||||
#define LV_USE_FONT_SYMBOL_10 4
|
||||
|
||||
#define LV_USE_FONT_DEJAVU_20 4
|
||||
#define LV_USE_FONT_DEJAVU_20_LATIN_SUP 4
|
||||
#define LV_USE_FONT_DEJAVU_20_CYRILLIC 4
|
||||
#define LV_USE_FONT_SYMBOL_20 4
|
||||
|
||||
#define LV_USE_FONT_DEJAVU_30 4
|
||||
#define LV_USE_FONT_DEJAVU_30_LATIN_SUP 4
|
||||
#define LV_USE_FONT_DEJAVU_30_CYRILLIC 4
|
||||
#define LV_USE_FONT_SYMBOL_30 4
|
||||
|
||||
#define LV_USE_FONT_DEJAVU_40 4
|
||||
#define LV_USE_FONT_DEJAVU_40_LATIN_SUP 4
|
||||
#define LV_USE_FONT_DEJAVU_40_CYRILLIC 4
|
||||
#define LV_USE_FONT_SYMBOL_40 4
|
||||
|
||||
#define LV_USE_FONT_MONOSPACE_8 1
|
||||
/* The built-in fonts contains the ASCII range and some Symbols with 4 bit-per-pixel.
|
||||
* The symbols are available via `LV_SYMBOL_...` defines
|
||||
* More info about fonts: https://docs.littlevgl.com/#Fonts
|
||||
* To create a new font go to: https://littlevgl.com/ttf-font-to-c-array
|
||||
*/
|
||||
#define LV_FONT_ROBOTO_12 0
|
||||
#define LV_FONT_ROBOTO_16 1
|
||||
#define LV_FONT_ROBOTO_22 0
|
||||
#define LV_FONT_ROBOTO_28 0
|
||||
|
||||
/* Optionally declare your custom fonts here.
|
||||
* You can use these fonts as default font too
|
||||
* and they will be available globally. E.g.
|
||||
* #define LV_FONT_CUSTOM_DECLARE LV_FONT_DECLARE(my_font_1) \
|
||||
* LV_FONT_DECLARE(my_font_2) \
|
||||
* LV_FONT_DECLARE(my_font_2)
|
||||
*/
|
||||
#define LV_FONT_CUSTOM_DECLARE
|
||||
|
||||
#define LV_FONT_DEFAULT &lv_font_dejavu_20 /*Always set a default font from the built-in fonts*/
|
||||
/*Always set a default font from the built-in fonts*/
|
||||
#define LV_FONT_DEFAULT &lv_font_roboto_16
|
||||
|
||||
/*Declare the type of the user data of fonts (can be e.g. `void *`, `int`, `struct`)*/
|
||||
typedef void * lv_font_user_data_t;
|
||||
|
||||
Reference in New Issue
Block a user