summaryrefslogtreecommitdiff
path: root/src/displayapp/fonts
diff options
context:
space:
mode:
authorMichele Bini <michele.bini@gmail.com>2022-03-27 07:27:42 (GMT)
committerMichele Bini <michele.bini@gmail.com>2022-03-27 07:27:42 (GMT)
commit7c21234cd3c2e008e10ac210bb5acf45f8c51f93 (patch)
tree261000c41a03f35adbbf700fe472554b38c61de8 /src/displayapp/fonts
parentbedaa08f560063ce64514108d67d84a90321ad90 (diff)
Revert "Test neofont1 in theme"
This reverts commit 5313a788fed9a4cf19214eee8e9b1b4a67d043c4.
Diffstat (limited to 'src/displayapp/fonts')
-rw-r--r--src/displayapp/fonts/neofont.c2
-rw-r--r--src/displayapp/fonts/neofont.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/displayapp/fonts/neofont.c b/src/displayapp/fonts/neofont.c
index 538b16b..e2e67e7 100644
--- a/src/displayapp/fonts/neofont.c
+++ b/src/displayapp/fonts/neofont.c
@@ -532,7 +532,7 @@ static const uint8_t * neofont1_glyph_bitmap_cb(const lv_font_t * font, uint32_t
}
/*Describe the properties of a font*/
-lv_font_t neofont1 = {
+const lv_font_t neofont1 = {
.get_glyph_dsc = neofont1_glyph_dsc_cb, /*Set a callback to get info about gylphs*/
.get_glyph_bitmap = neofont1_glyph_bitmap_cb, /*Set a callback to get bitmap of a glyp*/
.line_height = 12, /*The real line height where any text fits*/
diff --git a/src/displayapp/fonts/neofont.h b/src/displayapp/fonts/neofont.h
index b6064b5..94d9e59 100644
--- a/src/displayapp/fonts/neofont.h
+++ b/src/displayapp/fonts/neofont.h
@@ -9,7 +9,7 @@ extern "C" {
#endif
extern const lv_font_t neofont0;
-// extern const lv_font_t neofont1;
+extern const lv_font_t neofont1;
// extern const lv_font_t neofont2;
extern const lv_font_t neofont3;