Skip to content

Commit 13c66dd

Browse files
Riksu9000JF002
authored andcommitted
Further updates to font readme.
1 parent 204ad7c commit 13c66dd

3 files changed

Lines changed: 419 additions & 388 deletions

File tree

src/displayapp/fonts/README.md

Lines changed: 24 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,9 @@ static constexpr const char* newSymbol = "\xEF\x86\x85";
2929
* Size: 20
3030
* Bpp: 1 bit-per-pixel
3131
* Do not enable font compression or horizontal subpixel rendering
32-
* Load the file `JetBrainsMono-Bold.tff` (use the file in this repo to ensure the version matches) and specify the following range : `0x20-0x7e, 0x410-0x44f`
32+
* Load the file `JetBrainsMono-Bold.tff` (use the file in this repo to ensure the version matches) and specify the following range: `0x20-0x7e, 0x410-0x44f`
3333
* Add a 2nd font, load the file `FontAwesome5-Solid+Brands+Regular.woff` and specify the following
34-
range : `0xf293, 0xf294, 0xf244, 0xf240, 0xf242, 0xf243, 0xf241, 0xf54b, 0xf21e, 0xf1e6, 0xf54b, 0xf017, 0xf129, 0xf03a, 0xf185, 0xf560, 0xf001, 0xf3fd, 0xf069, 0xf1fc, 0xf45d, 0xf59f, 0xf5a0, 0xf029, 0xf027, 0xf028, 0xf6a9, 0xf04b, 0xf04c, 0xf048, 0xf051, 0xf095, 0xf3dd, 0xf04d, 0xf2f2, 0xf024, 0xf252, 0xf569, 0xf201, 0xf06e, 0xf015, 0xf072`
34+
range: `0xf293, 0xf294, 0xf244, 0xf240, 0xf242, 0xf243, 0xf241, 0xf54b, 0xf21e, 0xf1e6, 0xf54b, 0xf017, 0xf129, 0xf03a, 0xf185, 0xf560, 0xf001, 0xf3fd, 0xf069, 0xf1fc, 0xf45d, 0xf59f, 0xf5a0, 0xf029, 0xf027, 0xf028, 0xf6a9, 0xf04b, 0xf04c, 0xf048, 0xf051, 0xf095, 0xf3dd, 0xf04d, 0xf2f2, 0xf024, 0xf252, 0xf569, 0xf201, 0xf06e, 0xf015, 0xf072`
3535
* Fix an error in the font conversion.
3636

3737
Replace the following:
@@ -50,29 +50,44 @@ with
5050

5151
(there are two changes: 7f -> 7e and f7 -> b7)
5252

53-
5453
### Medium font
5554

5655
* Name: jetbrains_mono_42
5756
* Size: 42
5857
* Bpp: 1 bit-per-pixel
5958
* Do not enable font compression or horizontal subpixel rendering
60-
* 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`
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`
6160

6261
### Large font
6362
* Name: jetbrains_mono_76
6463
* Size: 76
6564
* Bpp: 1 bit-per-pixel
6665
* Do not enable font compression or horizontal subpixel rendering
67-
* Load the file `JetBrainsMono-Regular.tff` (use the file in this repo to ensure the version matches) and specify the following range : `0x25, 0x2D, 0x2F, 0x30-0x3a`
66+
* Load the file `JetBrainsMono-Regular.tff` (use the file in this repo to ensure the version matches) and specify the following range: `0x25, 0x2D, 0x2F, 0x30-0x3a`
67+
68+
### Digital watchface font
69+
70+
* Name: jetbrains_mono_extrabold_compressed
71+
* Size: 80
72+
* Bpp: 1 bit-per-pixel
73+
* Do not enable font compression or horizontal subpixel rendering
74+
* Load the file `JetBrainsMono-ExtraBold.tff` (use the file in this repo to ensure the version matches) and specify the following range: `0x30-0x3a`
6875

6976
### PineTimeStyle font
7077

71-
* Name : open_sans_light
72-
* Size : 150
73-
* Bpp : 1 bit-per-pixel
78+
* Name: open_sans_light
79+
* Size: 150
80+
* Bpp: 1 bit-per-pixel
81+
* Do not enable font compression or horizontal subpixel rendering
82+
* Load the file `open_sans_light.tff` (use the file in this repo to ensure the version matches) and specify the following symbols: `0123456789`
83+
84+
### Symbols font (Used in QuickSettings for example)
85+
86+
* Name: lv_font_sys_48
87+
* Size: 48
88+
* Bpp: 1 bit-per-pixel
7489
* Do not enable font compression or horizontal subpixel rendering
75-
* Load the file `open_sans_light.tff` (use the file in this repo to ensure the version matches) and specify the following symbols : `0123456789`
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`
7691

7792
#### Navigation font
7893

0 commit comments

Comments
 (0)