From d6165e72b7965e587c53221f720b778b0f1cdb12 Mon Sep 17 00:00:00 2001 From: Riku Isokoski Date: Thu, 21 Jul 2022 22:56:34 +0300 Subject: Replace icomoon system font with material design icons (#1228) --- src/displayapp/fonts/README.md | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) (limited to 'src/displayapp/fonts/README.md') diff --git a/src/displayapp/fonts/README.md b/src/displayapp/fonts/README.md index cfb6079c..9d5ec282 100644 --- a/src/displayapp/fonts/README.md +++ b/src/displayapp/fonts/README.md @@ -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`: -- cgit v1.2.3-70-g09d2