feat(font): add unscii-16 built-in font

https://forum.lvgl.io/t/more-unscii-font-version/3433
This commit is contained in:
Gabor Kiss-Vamosi
2020-11-05 12:38:44 +01:00
parent b00628e77d
commit ef81e0fbc3
5 changed files with 913 additions and 265 deletions
+2 -1
View File
@@ -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
+1
View File
@@ -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
+4 -5
View File
@@ -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
File diff suppressed because it is too large Load Diff