summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichele Bini <michele.bini@gmail.com>2022-06-05 04:07:16 (GMT)
committerMichele Bini <michele.bini@gmail.com>2022-06-05 04:07:16 (GMT)
commit107215f44ae96fc16e97d3e5c8a39f3f7d601d37 (patch)
tree41a73de10cf4c32704196111fd37e8754aa1cacd
parent16882a1f9e8e82873ec14d631db96010f817149d (diff)
fix neofont0 line height
-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,