diff options
| author | Riku Isokoski <riksu9000@gmail.com> | 2022-02-28 23:09:48 (GMT) |
|---|---|---|
| committer | JF <JF002@users.noreply.github.com> | 2022-03-08 20:34:20 (GMT) |
| commit | 61a9a97e267799f76c64279887a9845d4760a77c (patch) | |
| tree | 05bab7ad4b3256e1fe22be17c043951e297c432f /src/displayapp/fonts/README.md | |
| parent | 04d21dcd932c7e75b2d45314b2f68d9ba91c5d68 (diff) | |
Update navigation font readme section
Diffstat (limited to 'src/displayapp/fonts/README.md')
| -rw-r--r-- | src/displayapp/fonts/README.md | 16 |
1 files changed, 6 insertions, 10 deletions
diff --git a/src/displayapp/fonts/README.md b/src/displayapp/fonts/README.md index 2e900d1..7e6203f 100644 --- a/src/displayapp/fonts/README.md +++ b/src/displayapp/fonts/README.md @@ -59,6 +59,7 @@ with * 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` ### Large font + * Name: jetbrains_mono_76 * Size: 76 * Bpp: 1 bit-per-pixel @@ -87,17 +88,12 @@ with * Size: 48 * Bpp: 1 bit-per-pixel * Do not enable font compression or horizontal subpixel rendering -* 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` - -#### Navigation font +* Load the file `icons_sys_48.tff` and specify the following range: `0xe902, 0xe904-0xe907, 0xe90b-0xe90c` -To create the navigtion.ttf I use the web app [icomoon](https://icomoon.io/app) -this app can import the svg files from the folder *src/displayapp/icons/navigation/unique* and create a ttf file the -project for the site is *lv_font_navi_80.json* you can import it to add or remove icons +### Navigation font -You can also use the online LVGL tool to create the .c +`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. -ttf file : navigation.ttf name : lv_font_navi_80 size : 80px Bpp : 2 bit-per-pixel range : 0xe900-0xe929 +This font must be generated with the `lv_font_conv` tool, which has additional options not available in the online converter. -$lv_font_conv --font navigation.ttf -r '0xe900-0xe929' --size 80 --format lvgl --bpp 2 --no-prefilter -o -lv_font_navi_80.c +`lv_font_conv --font navigation.ttf -r '0xe900-0xe929' --size 80 --format lvgl --bpp 2 -o lv_font_navi_80.c` |
