mirror of
https://github.com/lvgl/lvgl.git
synced 2026-05-19 11:52:04 +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:
+2
-1
@@ -3,7 +3,8 @@
|
||||
## v7.8.0 (20.10.2020)
|
||||
|
||||
### New features
|
||||
- make DMA2D non blocking
|
||||
- make DMA2D non blocking
|
||||
- add unscii-16 built-in font
|
||||
|
||||
## v7.7.2 (Planned to 28.11.2020)
|
||||
### Bugfixes
|
||||
|
||||
@@ -410,6 +410,7 @@ typedef void * lv_indev_drv_user_data_t; /*Type of user data in the i
|
||||
/*Pixel perfect monospace font
|
||||
* http://pelulamu.net/unscii/ */
|
||||
#define LV_FONT_UNSCII_8 0
|
||||
#define LV_FONT_UNSCII_16 0
|
||||
|
||||
/* Optionally declare your custom fonts here.
|
||||
* You can use these fonts as default font too
|
||||
|
||||
@@ -24,11 +24,6 @@ extern "C" {
|
||||
/*********************
|
||||
* 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
|
||||
@@ -227,6 +222,10 @@ LV_FONT_DECLARE(lv_font_montserrat_12_subpx)
|
||||
LV_FONT_DECLARE(lv_font_unscii_8)
|
||||
#endif
|
||||
|
||||
#if LV_FONT_UNSCII_16
|
||||
LV_FONT_DECLARE(lv_font_unscii_16)
|
||||
#endif
|
||||
|
||||
#if LV_FONT_DEJAVU_16_PERSIAN_HEBREW
|
||||
LV_FONT_DECLARE(lv_font_dejavu_16_persian_hebrew)
|
||||
#endif
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
+270
-259
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user