About
Embedded Font Generator rasterizes TTF fonts into C header files for small monochrome
displays — SSD1306 OLED, e-ink, ST7735. Pick a font, set the cell
dimensions, trim the character set to what your firmware actually needs, fix any pixels
by hand, preview on an emulated display, and download a ready-to-compile .h file.
What's inside
- Font Family — a hierarchical font picker covering full weight and style families (Regular, Bold, Italic, Light, etc.).
- Dimensions — Basic (preset heights 8/16/32/64 px) or Advanced (free height 8–100 px and width) sliders, with a live glyph preview.
- Characters — a character subset selector with presets (Digits, Digits + punctuation, Uppercase, Full ASCII) or a custom list, with a live byte-size estimate.
- Glyph Editor — a per-pixel editor for fixing or redrawing any character before download.
- Display Emulator — preview your text on emulated displays (SSD1306 OLED, e-ink, and more), including missing-character warnings.
- Header Options — platform envelopes for Generic C99, AVR/Arduino, PIC XC8, or ARM GCC (ESP-IDF and similar), plus a fully custom envelope, with a choice of byte layouts.
- C++ wrapper — an optional header-only C++14 class with
contains(char)andglyph(char), including a configurable fallback glyph for characters outside your set. - Project export/import — save your entire project (settings and glyph edits) to a versioned JSON file and restore it later or on another device.
Font library
All bundled fonts are licensed under the SIL Open Font License (OFL), cleared for personal
and commercial use. The OFL.txt for the selected font is included as a comment
block in every downloaded header. The library currently includes JetBrains Mono (all weights
and italics), Inconsolata, Space Mono, Share Tech Mono, VT323, Press Start 2P, Nunito, Poppins,
Rajdhani, Oswald, Orbitron, Poetsen One, Sriracha, and Rye.
How to use it
Head to /font to pick a font, configure dimensions and characters, edit glyphs, preview on a display, and download your header. For step-by-step walkthroughs — wiring up an SSD1306 display, trimming a font to save flash, and a full reference for the generated header format — see the guides.
Legal notes
- Bundled fonts are OFL-licensed, free for personal and commercial use.
- Generated
.hfiles contain rasterized pixel data, not font software bytes — the OFL license text is included in the header as a comment. - No data is stored or transmitted beyond anonymous visit counts, and only if you opt in via the Privacy pill in the footer (Disable / Count visits / Count returns — the latter uses a random ID stored in your browser's local storage, not linked to your identity).
Built by
Built by Stanislav Kiselevskii — I made this for my own embedded projects and decided to share it.