Files
InfiniTime/src/displayapp/fonts
Riku Isokoski a5eac74fb5 motion: Disable Motion app
This is a debugging app, not useful for most people.
Also remove the app icon.
2023-02-25 18:06:37 +02:00
..
2023-02-25 18:06:37 +02:00
2021-04-04 03:08:51 +01:00

Fonts

How to add new symbols:

  • Browse the cheat sheets and pick symbols
  • 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
  • Define the new symbols in src/displayapp/screens/Symbols.h:
static constexpr const char* newSymbol = "\xEF\x86\x85";

the config file format:

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

Navigation font

navigtion.ttf is created with the web app icomoon by importing the svg files from src/displayapp/icons/navigation/unique and generating the font. lv_font_navi_80.json is a project file for the site, which you can import to add or remove icons.