summaryrefslogtreecommitdiff
path: root/src/displayapp/fonts/neofont.c
diff options
context:
space:
mode:
authorMichele Bini <michele.bini@gmail.com>2022-06-04 22:25:47 (GMT)
committerMichele Bini <michele.bini@gmail.com>2022-06-11 01:00:20 (GMT)
commitd61633a8ca0476c4381c4e72c2eb8d3d142b45d3 (patch)
tree144789f897d5871f13a6dc413adbe466b78a8f4e /src/displayapp/fonts/neofont.c
parent16882a1f9e8e82873ec14d631db96010f817149d (diff)
Make neofont0mono available.
Reduce memfrag visor to 3x4 characters test allocations with 8-byte granularity, try to test pvPort(Malloc|Free) Improve display by displaying 8-byte words, try to improve pvPortMalloc fragmentation detection Display memory fragmentation stats at the beginning and update when screen is touched. Align fragmentation stats display to right.
Diffstat (limited to 'src/displayapp/fonts/neofont.c')
-rw-r--r--src/displayapp/fonts/neofont.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/displayapp/fonts/neofont.c b/src/displayapp/fonts/neofont.c
index e89682b..b4ec7d5 100644
--- a/src/displayapp/fonts/neofont.c
+++ b/src/displayapp/fonts/neofont.c
@@ -1482,8 +1482,8 @@ static const uint8_t * neofont0_glyph_bitmap_cb(const lv_font_t * font, uint32_t
lv_font_t neofont0 = {
.get_glyph_dsc = neofont0_glyph_dsc_cb, /*Set a callback to get info about gylphs*/
.get_glyph_bitmap = neofont0_glyph_bitmap_cb, /*Set a callback to get bitmap of a glyp*/
- .line_height = 12, /*The real line height where any text fits*/
- .base_line = 2,
+ .line_height = 6, /*The real line height where any text fits*/
+ .base_line = 1,
.dsc = 0, /*Store any implementation specific data here*/
#if !(LVGL_VERSION_MAJOR == 6 && LVGL_VERSION_MINOR == 0)
.subpx = LV_FONT_SUBPX_NONE,