You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/displayapp/fonts/README.md
+6-10Lines changed: 6 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -59,6 +59,7 @@ with
59
59
* Load the file `JetBrainsMono-Regular.tff` (use the file in this repo to ensure the version matches) and specify the following range: `0x25, 0x30-0x3a`
60
60
61
61
### Large font
62
+
62
63
* Name: jetbrains_mono_76
63
64
* Size: 76
64
65
* Bpp: 1 bit-per-pixel
@@ -87,17 +88,12 @@ with
87
88
* Size: 48
88
89
* Bpp: 1 bit-per-pixel
89
90
* Do not enable font compression or horizontal subpixel rendering
90
-
* Load the file `icons_sys_48.tff` (use the file in this repo to ensure the version matches) and specify the following range: `0xe902, 0xe904-0xe907, 0xe90b-0xe90c`
91
-
92
-
#### Navigation font
91
+
* Load the file `icons_sys_48.tff` and specify the following range: `0xe902, 0xe904-0xe907, 0xe90b-0xe90c`
93
92
94
-
To create the navigtion.ttf I use the web app [icomoon](https://icomoon.io/app)
95
-
this app can import the svg files from the folder *src/displayapp/icons/navigation/unique* and create a ttf file the
96
-
project for the site is *lv_font_navi_80.json* you can import it to add or remove icons
93
+
### Navigation font
97
94
98
-
You can also use the online LVGL tool to create the .c
95
+
`navigtion.ttf` is created with the web app [icomoon](https://icomoon.io/app) by importing the svg files from `src/displayapp/icons/navigation/unique` and generating the font. `lv_font_navi_80.json` is a project file for the site, which you can import to add or remove icons.
99
96
100
-
ttf file : navigation.ttf name : lv_font_navi_80 size : 80px Bpp : 2 bit-per-pixel range : 0xe900-0xe929
97
+
This font must be generated with the `lv_font_conv` tool, which has additional options not available in the online converter.
0 commit comments