Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Added Azeret Mono font for Garden face
  • Loading branch information
owenfromcanada committed Jun 20, 2025
commit 01f5e006206e0bbd5ebb6f226c47e4e81deb80fc
Binary file added src/displayapp/fonts/AzeretMono-Regular.ttf
Binary file not shown.
2 changes: 1 addition & 1 deletion src/displayapp/fonts/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
set(FONTS jetbrains_mono_42 jetbrains_mono_76 jetbrains_mono_bold_20
jetbrains_mono_extrabold_compressed lv_font_sys_48
open_sans_light fontawesome_weathericons)
open_sans_light fontawesome_weathericons azeret_mono)
find_program(LV_FONT_CONV "lv_font_conv" NO_CACHE REQUIRED
HINTS "${CMAKE_SOURCE_DIR}/node_modules/.bin")
message(STATUS "Using ${LV_FONT_CONV} to generate font files")
Expand Down
10 changes: 10 additions & 0 deletions src/displayapp/fonts/fonts.json
Original file line number Diff line number Diff line change
Expand Up @@ -73,5 +73,15 @@
],
"bpp": 1,
"size": 25
},
"azeret_mono": {
"sources": [
{
"file": "AzeretMono-Regular.ttf",
"range": "0x30-0x3a"
}
],
"bpp": 4,
"size": 82
}
}
3 changes: 2 additions & 1 deletion src/libs/lv_conf.h
Original file line number Diff line number Diff line change
Expand Up @@ -419,7 +419,8 @@ typedef void* lv_indev_drv_user_data_t; /*Type of user data in the in
LV_FONT_DECLARE(jetbrains_mono_76) \
LV_FONT_DECLARE(open_sans_light) \
LV_FONT_DECLARE(fontawesome_weathericons) \
LV_FONT_DECLARE(lv_font_sys_48)
LV_FONT_DECLARE(lv_font_sys_48) \
LV_FONT_DECLARE(azeret_mono)

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