Skip to content

Commit 2998f70

Browse files
committed
Antialias smaller system fonts
1 parent 7dea64a commit 2998f70

File tree

4 files changed

+4
-23
lines changed

4 files changed

+4
-23
lines changed

src/displayapp/fonts/CMakeLists.txt

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,6 @@ set(FONTS jetbrains_mono_42 jetbrains_mono_76 jetbrains_mono_bold_20
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")
7-
configure_file(${CMAKE_CURRENT_LIST_DIR}/jetbrains_mono_bold_20.c_zero.patch
8-
${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)
117
if(CMAKE_VERSION VERSION_GREATER_EQUAL 3.12)
128
# FindPython3 module introduces with CMake 3.12
139
# https://cmake.org/cmake/help/latest/module/FindPython3.html

src/displayapp/fonts/fonts.json

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,8 @@
1010
"range": "0xf294, 0xf242, 0xf54b, 0xf21e, 0xf1e6, 0xf017, 0xf129, 0xf03a, 0xf185, 0xf560, 0xf001, 0xf3fd, 0xf1fc, 0xf45d, 0xf59f, 0xf5a0, 0xf027, 0xf028, 0xf6a9, 0xf04b, 0xf04c, 0xf048, 0xf051, 0xf095, 0xf3dd, 0xf04d, 0xf2f2, 0xf024, 0xf252, 0xf569, 0xf06e, 0xf015, 0xf00c, 0xf0f3, 0xf522, 0xf743, 0xf1ec, 0xf55a, 0xf3ed"
1111
}
1212
],
13-
"bpp": 1,
14-
"size": 20,
15-
"patches": ["jetbrains_mono_bold_20.c_zero.patch", "jetbrains_mono_bold_20.c_M.patch"]
13+
"bpp": 2,
14+
"size": 20
1615
},
1716
"jetbrains_mono_42": {
1817
"sources": [
@@ -21,7 +20,7 @@
2120
"range": "0x25, 0x2b, 0x2d, 0x2e, 0x30-0x3a, 0x43, 0x46, 0x4b-0x4d, 0x66, 0x69, 0x6b, 0x6d, 0x74, 0xb0"
2221
}
2322
],
24-
"bpp": 1,
23+
"bpp": 2,
2524
"size": 42
2625
},
2726
"jetbrains_mono_76": {
@@ -71,7 +70,7 @@
7170
"range": "0xf185, 0xf186, 0xf6c3, 0xf6c4, 0xf73c, 0xf743, 0xf740, 0xf75f, 0xf0c2, 0xf05e, 0xf73b, 0xf0e7, 0xf2dc"
7271
}
7372
],
74-
"bpp": 1,
73+
"bpp": 2,
7574
"size": 25
7675
}
7776
}

src/displayapp/fonts/jetbrains_mono_bold_20.c_M.patch

Lines changed: 0 additions & 8 deletions
This file was deleted.

src/displayapp/fonts/jetbrains_mono_bold_20.c_zero.patch

Lines changed: 0 additions & 6 deletions
This file was deleted.

0 commit comments

Comments
 (0)