LGFX Font Tool JS Generator

GitHub

1 Typeface

Is generating what you need?

LovyanGFX already ships with 186 fonts, and using one costs no flash for glyph data at all. Generate here when you want a size or a typeface the presets do not have, or when you want to pay flash for only the characters you actually use.

Browse the built-in fonts in the Viewer →

Only SIL OFL 1.1 and Apache-2.0 families are listed — both allow the generated glyph data to be embedded in and shipped with your firmware (with attribution, which the generated header carries).

2 Size & name

The size is the character height in pixels — the ink height of a reference glyph (an ideograph for CJK-capable fonts, a capital otherwise), so "24" looks the same size in every typeface. The line height is derived from the glyphs and reported next to the preview. Output is 1bpp: the threshold decides how much anti-aliased coverage counts as "on"; lowering it makes the font heavier.

3 Characters

Show the characters

Grouped by code point — use the browser's find (Ctrl+F) to check a specific character.

4 Generate

How to use the generated header