mapleglyph
v0.4.2 · MIT · Rust

Inspect what your fonts can actually render.

Mapleglyph reads a font file and tells you which Unicode blocks and codepoints it really covers — no guessing from the file name. Preview glyphs in the terminal and diff coverage between two fonts.

Why

I kept shipping a UI where a few characters fell back to a different font — box-drawing here, a stray ẞ there — because the “regular” weight quietly didn't include them. Checking by eye in a font viewer is slow and easy to get wrong. Mapleglyph answers one question fast: given this file, can it draw these codepoints, yes or no?

A quick look

$ mapleglyph coverage Inter-Regular.ttf
file  Inter-Regular.ttf  (sfnt, 2,548 glyphs)
Basic Latin            95/95    100%
Latin-1 Supplement     96/96    100%
Latin Extended-A      128/128   100%
General Punctuation    78/111    70%
Currency Symbols        6/33     18%
Box Drawing              0/128     0%
— 7 more blocks with partial coverage (use --all)

Coverage by block

Group the font's codepoints into Unicode blocks and show how complete each one is, highest-first.

Terminal preview

Render any range as a grid of glyphs using your terminal's own font, so you can see what's there.

Coverage diff

Compare two files and list exactly which codepoints one has and the other is missing.

Missing-for-text

Feed it a text sample and it reports every character the font can't draw, with line numbers.

Install

# with cargo
cargo install mapleglyph

# or Homebrew
brew install mapleglyph/tap/mapleglyph

Prebuilt binaries for Linux, macOS and Windows are attached to each release. Reads TTF, OTF, TTC and WOFF2.