понедельник, 20 июля 2026 г.

The SmartFont Library for LED matrix displays

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 drawPixel and clearPixel callbacks.
  • Font Converter: Includes a Python tool to generate compatible C source files from .ttf or .otf fonts.

See details on GitHub.



from Adafruit Industries – Makers, hackers, artists, designers and engineers! https://ift.tt/1gSYpVw
via IFTTT

Комментариев нет:

Отправить комментарий

Know us

Our Team

Tags

Video of the Day

Contact us

Имя

Электронная почта *

Сообщение *