summaryrefslogtreecommitdiff
path: root/src/displayapp/fonts/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'src/displayapp/fonts/README.md')
-rw-r--r--src/displayapp/fonts/README.md28
1 files changed, 16 insertions, 12 deletions
diff --git a/src/displayapp/fonts/README.md b/src/displayapp/fonts/README.md
index 4cd32b64..b2669a78 100644
--- a/src/displayapp/fonts/README.md
+++ b/src/displayapp/fonts/README.md
@@ -1,16 +1,19 @@
# Fonts
-* [Jetbrains Mono](https://www.jetbrains.com/fr-fr/lp/mono/)
-* [Awesome font from LVGL](https://lvgl.io/assets/others/FontAwesome5-Solid+Brands+Regular.woff)
-* [Open Sans Light from Google](https://fonts.google.com/specimen/Open+Sans)
+- [Jetbrains Mono](https://www.jetbrains.com/lp/mono/)
+- [Font Awesome](https://fontawesome.com/v5/cheatsheet/free/solid)
+- [Open Sans Light](https://fonts.google.com/specimen/Open+Sans)
+- [Material Symbols](https://fonts.google.com/icons)
### How to add new symbols:
-* Browse [this cheatsheet](https://fontawesome.com/cheatsheet/free/solid) and pick symbols
-* For each symbol, add its hex code (0xf641 for the 'Ad' icon, for example) to the *Range* list (or the symbol list when its simple enough) in the `fonts.json` file
-* Convert this hex value into a UTF-8 code
+- Browse the cheat sheets and pick symbols
+ - [Font Awesome](https://fontawesome.com/v5/cheatsheet/free/solid)
+ - [Material Symbols](https://fonts.google.com/icons)
+- For each symbol, add its hex code (0xf641 for the 'Ad' icon, for example) to the *Range* list in the `fonts.json` file
+- Convert this hex value into a UTF-8 code
using [this site](http://www.ltg.ed.ac.uk/~richard/utf-8.cgi?input=f185&mode=hex)
-* Define the new symbols in `src/displayapp/screens/Symbols.h`:
+- Define the new symbols in `src/displayapp/screens/Symbols.h`:
```
static constexpr const char* newSymbol = "\xEF\x86\x85";
@@ -20,11 +23,12 @@ static constexpr const char* newSymbol = "\xEF\x86\x85";
inside `fonts`, there is a dictionary of fonts,
and for each font there is:
-* sources - list of file,range(,symbols) wanted (as a dictionary of those)
-* bpp - bits per pixel.
-* size - size.
-* patches - list of extra "patches" to run: a path to a .patch file. (may be relative)
-* compress - optional. default disabled. add `"compress": true` to enable
+
+- sources - list of file,range(,symbols) wanted (as a dictionary of those)
+- bpp - bits per pixel.
+- size - size.
+- patches - list of extra "patches" to run: a path to a .patch file. (may be relative)
+- compress - optional. default disabled. add `"compress": true` to enable
### Navigation font