Replace icomoon system font with material design icons (#1228)

This commit is contained in:
Riku Isokoski
2022-07-21 22:56:34 +03:00
committed by GitHub
parent 9ee1160578
commit d6165e72b7
9 changed files with 221 additions and 43702 deletions

View File

@@ -1,13 +1,16 @@
# 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
* 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`: