
The SmartFont Library by Chaiwat Leanyos is a generic C++ font library for embedded systems (Arduino, ESP32, etc.), designed for efficient rendering of UTF-8 strings on pixel-based displays. It features special support for Thai Language, correctly positioning vowels and tone marks (0x0E00 – 0x0E7F).
Features
- UTF-8 Support: Handles multi-byte characters automatically.
- Thai Language Layout: Automatically adjusts vertical position of upper/lower vowels and tone marks to prevent overlapping.
- Memory Efficient: Fonts are stored in program memory (PROGMEM on AVR/ESP).
- Callback Based: Agnostic to display hardware. You provide
drawPixelandclearPixelcallbacks. - Font Converter: Includes a Python tool to generate compatible C source files from
.ttfor.otffonts.
See details on GitHub.
from Adafruit Industries – Makers, hackers, artists, designers and engineers! https://ift.tt/1gSYpVw
via IFTTT
Комментариев нет:
Отправить комментарий