mirror of
https://github.com/ByteWelder/Tactility.git
synced 2026-10-17 02:45:05 +00:00
**Fonts** Dynamically load text and icon fonts when the device boots. Font bitdepth depends on whether the device is an ESP32 one and whether it has external RAM available. When no external RAM is available on ESP32, only small and medium font variants are generated; large font variants refer to the medium size ones. Implemented Appearance settings app for changing font and font size. **Other changes** - Added keyboard shortcuts to delete or rename files in directory views. - Improved app-grid tile sizing to provide more room for labels. - Reduced the default LED strip brightness.
binfont-module
Bitmap fonts in the lv_font_conv binary format (--format bin), usable with and without LVGL.
<binfont/binfont.h>: load fonts and decode glyphs<binfont/generator.h>: rasterize a TTF into the binary format on device<binfont/render.h>: draw glyphs and text into aPixelBuffer
For LVGL, see lvgl_binfont_create() in lvgl-module's <lvgl/binfont.h>.
License
This module is licensed under the Apache v2.0 license. Uses stb_truetype (public domain).