Skip to content

Commit 43399b3

Browse files
medeykoJF002
authored andcommitted
Update README.md
1 parent 1eaf258 commit 43399b3

1 file changed

Lines changed: 17 additions & 0 deletions

File tree

src/displayapp/fonts/README.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,23 @@ Add new symbols:
3131
static constexpr const char* newSymbol = "\xEF\x86\x85";
3232
```
3333

34+
#### Fix the zero symbol
35+
If you don't wish the inner dot of the 0 (zero) symbol to stick to the boundary), edit `src/displayapp/fonts/jetbrains_mono_bold_20.c` and replace:
36+
37+
/* U+0030 "0" */
38+
0x3f, 0x1f, 0xef, 0x3f, 0x87, 0xe1, 0xf8, 0x7f,
39+
0xdf, 0xf7, 0xe1, 0xf8, 0x7e, 0x1f, 0xcf, 0x7f,
40+
0x8f, 0xc0,
41+
42+
with
43+
44+
/* U+0030 "0" */
45+
0x3f, 0x1f, 0xef, 0x3f, 0x87, 0xe1, 0xf8, 0x7e,
46+
0xdf, 0xb7, 0xe1, 0xf8, 0x7e, 0x1f, 0xcf, 0x7f,
47+
0x8f, 0xc0,
48+
49+
(there are two changes: 7f -> 7e and f7 -> b7)
50+
3451
## Simple method to generate a font
3552

3653
If you want to generate a basic font containing only numbers and letters, you can use the above settings but instead of specifying a range, simply list the characters you need in the Symbols field and leave the range blank. This is the approach used for the PineTimeStyle watchface.

0 commit comments

Comments
 (0)