lvfontio
– Core font related data structures for LVGL
Note
This module is intended only for low-level usage with LVGL.
Available on these boards
- class lvfontio.OnDiskFont(file_path: str, max_glyphs: int = 100)
A font built into CircuitPython for use with LVGL
Create a OnDiskFont by loading an LVGL font file from the filesystem.
- Parameters:
- bitmap: displayio.Bitmap
Bitmap containing all font glyphs starting with ASCII and followed by unicode. This is useful for use with LVGL.