From 107215f44ae96fc16e97d3e5c8a39f3f7d601d37 Mon Sep 17 00:00:00 2001 From: Michele Bini Date: Sun, 5 Jun 2022 06:07:16 +0200 Subject: fix neofont0 line height 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, -- cgit v0.10.2