Skip to content

Commit faf3985

Browse files
committed
correctly include new font
1 parent accbd75 commit faf3985

3 files changed

Lines changed: 4 additions & 3 deletions

File tree

src/displayapp/fonts/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
set(FONTS jetbrains_mono_42 jetbrains_mono_76 jetbrains_mono_bold_20
22
jetbrains_mono_extrabold_compressed lv_font_sys_48
3-
open_sans_light fontawesome_weathericons)
3+
open_sans_light fontawesome_weathericons prime)
44
find_program(LV_FONT_CONV "lv_font_conv" NO_CACHE REQUIRED
55
HINTS "${CMAKE_SOURCE_DIR}/node_modules/.bin")
66
message(STATUS "Using ${LV_FONT_CONV} to generate font files")

src/displayapp/fonts/fonts.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,6 @@
8282
}
8383
],
8484
"bpp": 1,
85-
"size": 95
85+
"size": 85
8686
}
8787
}

src/libs/lv_conf.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -419,7 +419,8 @@ typedef void* lv_indev_drv_user_data_t; /*Type of user data in the in
419419
LV_FONT_DECLARE(jetbrains_mono_76) \
420420
LV_FONT_DECLARE(open_sans_light) \
421421
LV_FONT_DECLARE(fontawesome_weathericons) \
422-
LV_FONT_DECLARE(lv_font_sys_48)
422+
LV_FONT_DECLARE(lv_font_sys_48) \
423+
LV_FONT_DECLARE(prime)
423424

424425
/* Enable it if you have fonts with a lot of characters.
425426
* The limit depends on the font size, font face and bpp

0 commit comments

Comments
 (0)