Sergamon
Pixel-perfect monospaced font for code
Sergamon – Pixel-perfect monospaced font for code
Summary: Sergamon is an open-source monospaced font designed for programming with full ASCII support and no ligatures. It uses a unique build pipeline that converts ASCII art glyphs into compact vector fonts, producing a single-weight, pixel-perfect typeface optimized for integer scaling without anti-aliasing.
What it does
Sergamon renders source code exactly as typed by using glyphs defined as 8×16 ASCII art files. A TypeScript pipeline parses these files, optimizes vector paths, and outputs TTF/WOFF2 fonts via opentype.js.
Who it's for
It is intended for programmers who prefer a consistent, pixel-precise monospaced font without ligatures or multiple weights, suitable for coding environments valuing exact character representation.
Why it matters
Sergamon addresses the lack of complete character sets and clarity in pixel fonts, ensuring distinct glyphs even at small sizes and supporting over 3,700 glyphs across multiple scripts.