-
Notifications
You must be signed in to change notification settings - Fork 19
Open
Description
Problem:
Optimize font files to conserve limited memory (Pico W has 264 KB internal memory). Uncompressed font file sizes range from 32-117 KB.
Fonts (/gui/fonts):
- libreFranklinBold60.py (117 KB)
- libreFranklinSemiBold29.py (32 KB)
- orangeClockIcons25.py (44 KB)
- orangeClockIcons35.py (88 KB)
TTF font files were converted to .py using font-to-py:
https://github.com/peterhinch/micropython-font-to-py/blob/master/FONT_TO_PY.md
Potential solutions:
- Brotli or Gzip for static compression of .py files: https://css-tricks.com/brotli-static-compression/
- Alternative method of rendering fonts?
jdlcdl
Metadata
Metadata
Assignees
Labels
No labels