Tactility/Modules/binfont-module
Ken Van Hoeylandt 0ebd471cc0
Reduce internal RAM use: embedded assets, fonts in flash, PSRAM stacks, file_ops (#701)
- The `/system` FAT volume is removed. Its files are embedded in the firmware as generated C arrays.
- Default-size fonts are generated at build time and used from flash.
- The LVGL task and the Launcher run on PSRAM-preferred stacks. A new kernel `file_ops` API takes the file work off those threads.
- `MainDispatcher` is reimplemented as an on-demand task.
- More long-lived state is allocated with the PSRAM-preferring helpers.
- Other fixes and improvements
2026-10-18 17:30:43 +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).