Tactility/Modules/binfont-module
Ken Van Hoeylandt 04ada9df87
Dynamic font loading and more (#674)
**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.
2026-10-05 00:00:08 +02:00
..
2026-10-04 18:09:21 +02:00
2026-10-04 18:09:21 +02:00

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 a PixelBuffer

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).