summaryrefslogtreecommitdiff
path: root/src/displayapp/fonts/neofont.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/displayapp/fonts/neofont.c')
-rw-r--r--src/displayapp/fonts/neofont.c14
1 files changed, 13 insertions, 1 deletions
diff --git a/src/displayapp/fonts/neofont.c b/src/displayapp/fonts/neofont.c
index 9248769..25fa3de 100644
--- a/src/displayapp/fonts/neofont.c
+++ b/src/displayapp/fonts/neofont.c
@@ -308,6 +308,13 @@ static const uint8_t glyphs[][2] = {
_, X, _,
X, X, X,
_, X, _ ),
+
+ G( _, X, _,
+ X, _, X,
+ _, X, _,
+ _, _, _,
+ _, _, _ ),
+
};
#undef X
@@ -349,7 +356,12 @@ static const uint8_t * neofont0_glyph_bitmap_cb(const lv_font_t * font, uint32_t
return custom;
}
- return glyphs[sizeof(glyphs)/sizeof(glyphs[0])-1];
+ switch (unicode_letter) {
+ case 0xB0:
+ return glyphs[sizeof(glyphs)/sizeof(glyphs[0])-1];
+ }
+
+ return glyphs[sizeof(glyphs)/sizeof(glyphs[0])-2];
}
static bool neofont15_glyph_dsc_cb(const lv_font_t * font, lv_font_glyph_dsc_t * dsc_out, uint32_t unicode_letter, uint32_t unicode_letter_next)