Skip to content

Commit 10ca036

Browse files
authored
Patch hole in the letter M in jetbrains_mono_bold_20 (#1175)
1 parent 373289c commit 10ca036

3 files changed

Lines changed: 11 additions & 1 deletion

File tree

src/displayapp/fonts/CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ find_program(LV_FONT_CONV "lv_font_conv" NO_CACHE REQUIRED
66
message(STATUS "Using ${LV_FONT_CONV} to generate font files")
77
configure_file(${CMAKE_CURRENT_LIST_DIR}/jetbrains_mono_bold_20.c_zero.patch
88
${CMAKE_CURRENT_BINARY_DIR}/jetbrains_mono_bold_20.c_zero.patch COPYONLY)
9+
configure_file(${CMAKE_CURRENT_LIST_DIR}/jetbrains_mono_bold_20.c_M.patch
10+
${CMAKE_CURRENT_BINARY_DIR}/jetbrains_mono_bold_20.c_M.patch COPYONLY)
911
if(CMAKE_VERSION VERSION_GREATER_EQUAL 3.12)
1012
# FindPython3 module introduces with CMake 3.12
1113
# https://cmake.org/cmake/help/latest/module/FindPython3.html

src/displayapp/fonts/fonts.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
],
1313
"bpp": 1,
1414
"size": 20,
15-
"patches": ["jetbrains_mono_bold_20.c_zero.patch"]
15+
"patches": ["jetbrains_mono_bold_20.c_zero.patch", "jetbrains_mono_bold_20.c_M.patch"]
1616
},
1717
"jetbrains_mono_42": {
1818
"sources": [
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
@@ -217,7 +217,7 @@
2+
0xc0, 0xe0, 0x70, 0x38, 0x1c, 0xf, 0xff, 0xfc,
3+
4+
/* U+004D "M" */
5+
- 0xf3, 0xfc, 0xfd, 0x3f, 0xcf, 0xff, 0xff, 0xfe,
6+
+ 0xf3, 0xfc, 0xff, 0x3f, 0xcf, 0xff, 0xff, 0xfe,
7+
0xdf, 0xb7, 0xe1, 0xf8, 0x7e, 0x1f, 0x87, 0xe1,
8+
0xf8, 0x70,

0 commit comments

Comments
 (0)