mirror of
https://github.com/lvgl/lvgl.git
synced 2026-06-01 00:51:49 +08:00
feat(font): add unscii-16 built-in font
https://forum.lvgl.io/t/more-unscii-font-version/3433
This commit is contained in:
@@ -4,6 +4,7 @@
|
|||||||
|
|
||||||
### New features
|
### New features
|
||||||
- make DMA2D non blocking
|
- make DMA2D non blocking
|
||||||
|
- add unscii-16 built-in font
|
||||||
|
|
||||||
## v7.7.2 (Planned to 28.11.2020)
|
## v7.7.2 (Planned to 28.11.2020)
|
||||||
### Bugfixes
|
### Bugfixes
|
||||||
|
|||||||
@@ -410,6 +410,7 @@ typedef void * lv_indev_drv_user_data_t; /*Type of user data in the i
|
|||||||
/*Pixel perfect monospace font
|
/*Pixel perfect monospace font
|
||||||
* http://pelulamu.net/unscii/ */
|
* http://pelulamu.net/unscii/ */
|
||||||
#define LV_FONT_UNSCII_8 0
|
#define LV_FONT_UNSCII_8 0
|
||||||
|
#define LV_FONT_UNSCII_16 0
|
||||||
|
|
||||||
/* Optionally declare your custom fonts here.
|
/* Optionally declare your custom fonts here.
|
||||||
* You can use these fonts as default font too
|
* You can use these fonts as default font too
|
||||||
|
|||||||
@@ -24,11 +24,6 @@ extern "C" {
|
|||||||
/*********************
|
/*********************
|
||||||
* DEFINES
|
* DEFINES
|
||||||
*********************/
|
*********************/
|
||||||
/*Number of fractional digits in the advanced width (`adv_w`) field of `lv_font_glyph_dsc_t`*/
|
|
||||||
#define LV_FONT_WIDTH_FRACT_DIGIT 4
|
|
||||||
|
|
||||||
#define LV_FONT_KERN_POSITIVE 0
|
|
||||||
#define LV_FONT_KERN_NEGATIVE 1
|
|
||||||
|
|
||||||
/**********************
|
/**********************
|
||||||
* TYPEDEFS
|
* TYPEDEFS
|
||||||
@@ -227,6 +222,10 @@ LV_FONT_DECLARE(lv_font_montserrat_12_subpx)
|
|||||||
LV_FONT_DECLARE(lv_font_unscii_8)
|
LV_FONT_DECLARE(lv_font_unscii_8)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if LV_FONT_UNSCII_16
|
||||||
|
LV_FONT_DECLARE(lv_font_unscii_16)
|
||||||
|
#endif
|
||||||
|
|
||||||
#if LV_FONT_DEJAVU_16_PERSIAN_HEBREW
|
#if LV_FONT_DEJAVU_16_PERSIAN_HEBREW
|
||||||
LV_FONT_DECLARE(lv_font_dejavu_16_persian_hebrew)
|
LV_FONT_DECLARE(lv_font_dejavu_16_persian_hebrew)
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
+269
-258
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user