summaryrefslogtreecommitdiff
path: root/src/displayapp/fonts
diff options
context:
space:
mode:
Diffstat (limited to 'src/displayapp/fonts')
-rw-r--r--src/displayapp/fonts/neofont.c10
-rw-r--r--src/displayapp/fonts/neofont.h2
2 files changed, 9 insertions, 3 deletions
diff --git a/src/displayapp/fonts/neofont.c b/src/displayapp/fonts/neofont.c
index 538b16b..12a467a 100644
--- a/src/displayapp/fonts/neofont.c
+++ b/src/displayapp/fonts/neofont.c
@@ -292,6 +292,12 @@ static uint8_t glyphs[][2] = {
_, _, _,
_, X, _ ),
+ G( X, _, _,
+ _, _, X,
+ _, X, _,
+ X, _, _,
+ _, _, X ),
+
G( _, X, _,
X, X, X,
_, X, _,
@@ -344,7 +350,7 @@ static const uint8_t * neofont0_glyph_bitmap_cb(const lv_font_t * font, uint32_t
}
if (unicode_letter == ' ') { return spc; }
- static const char *symbols = "-/:.,_?!#";
+ static const char *symbols = "-/:.,_?!%#";
if (unicode_letter < 0x80) {
char*x = strchr(symbols,((uint8_t)unicode_letter));
if (x != NULL) {
@@ -354,7 +360,7 @@ static const uint8_t * neofont0_glyph_bitmap_cb(const lv_font_t * font, uint32_t
return glyphs[sizeof(glyphs)/sizeof(glyphs[0])-1];
}
-const lv_font_t neofont0 = {
+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 = 6, /*The real line height where any text fits*/
diff --git a/src/displayapp/fonts/neofont.h b/src/displayapp/fonts/neofont.h
index b6064b5..b01a7af 100644
--- a/src/displayapp/fonts/neofont.h
+++ b/src/displayapp/fonts/neofont.h
@@ -8,7 +8,7 @@
extern "C" {
#endif
-extern const lv_font_t neofont0;
+// extern const lv_font_t neofont0;
// extern const lv_font_t neofont1;
// extern const lv_font_t neofont2;
extern const lv_font_t neofont3;