How vahe-vhuk/fontconverter works
Vhuk’s Font Converter is a PyQt6 desktop application for designing pixel-font character sets and exporting them as C headers for embedded displays. The main workflow is: choose a charset, font, and height; preview and edit glyphs; save or reload a project; then export a header for firmware integration. The sampled code places the GUI, glyph rendering, editing, project persistence, and export in main.py. Some detailed event wiring is omitted, so those relationships are shown only where the README documents them.
Main entry points: main.py Main Window
Components 9
Font Design
- Main Window
main.py - Charset Controls
main.py - Font Selection
main.py - Glyph Grid
main.py - Pixel Editor
main.py
Project Files
- Project Files
main.py
C Export
- C Header
main.py
Other components
- Font Designer
- Display Firmware
Connections 14
- Font Designer → Main Window: uses
README.md - Font Designer → Charset Controls: enters charset
README.md - Font Designer → Font Selection: selects font
README.md - Main Window → Charset Controls: provides controls
main.py - Main Window → Glyph Grid: rebuilds grid
README.md - Font Selection → Glyph Grid: renders glyphs
main.py - Font Designer → Pixel Editor: edits glyphs
README.md - Glyph Grid → Pixel Editor: opens editor
README.md - Pixel Editor → Glyph Grid: updates pixels
README.md - Font Designer → Project Files: saves or loads
README.md - Main Window → Project Files: serializes state
main.py - Font Designer → C Header: exports
README.md - Main Window → C Header: encodes glyphs
main.py - C Header → Display Firmware: integrates into
README.md