Varcoda Mono. Squared for code.
A monospaced typeface for code and terminals. Bowls drawn as rounded rectangles, square dots, extenders cut at an angle, and an italic that is written rather than slanted, all on a strict grid: every glyph and every ligature takes exactly one 600-unit cell per character.
2.0.0 · symbols, alternates, sets
New in 2.0.0
Letters and figures are as they were. The symbols code leans on were measured against their look-alikes and redrawn, four ligatures and a colon for code joined calt, and ss01 raises the asterisk. Switch to 1.9.0 to see the difference in the same text.
{ and ( now differ by 66 % of their outline; 44 % in 1.9.0.[ and ( are 74 % apart; 59 % in 1.9.0.* and + 62 % apart; 56 % before.< turned upright, with the same sharp apex.-> and --, = has more air between its bars, and ~ is lighter in the middle, all on the operator axis.? = : it rises to the operator axis. In prose, as in key: value, it stays where it is. Part of calt.<> and =~ move together; 33 in all, still one cell per character. ..= and ..< stay plain.ss01, raised asteriskThe asterisk on the x-height, for footnotes and the habit of older code fonts. Off unless you ask.one cell per character
Character on a strict grid
Varcoda Mono is a coding font with a character of its own: the tailed q, the short-leg m, the dotted zero, flat shoulders on the arches, and the tops of b d h k t sliced at an angle. Under the character sits a grid that does not bend. One advance width for everything, no kerning, and ligatures that keep their cells, so columns, cursors and selections stay where you expect them.
It is drawn by a Python program you can read; no font editor is involved. An automated test-suite measures look-alike characters, punctuation sizes and operator alignment on every change, and a fresh build is byte-identical to the committed fonts.
- Styles
- Light 300, Regular 400, Medium 500, SemiBold 600, Bold 700, each with an italic
- Variable
- wght 300–700, upright and italic (new in 1.9.0)
- Formats
- TTF and OTF (hinted), WOFF2, variable TTF
- Coverage
- 689 glyphs for 605 characters
- Metrics
- 1000 UPM · advance 600 · x 540 · cap 720 · line 1.23 em
- Features
- calt · zero · ss01–ss08 · STAT
- Italic angle
- 9.5°
- License
- SIL Open Font License 1.1
calt · zero · ss01–ss08 · wght 300–700
Font playground
Edit the code, move the weight anywhere from 300 to 700, and switch the features on and off. The settings line under the controls is ready to paste into VS Code.
33 sequences · n characters = n cells
Ligatures that keep the grid
They live in calt, the feature behind the ligature switch of editors and terminals. A ligature of three characters is three cells wide, so cursor movement, selection and column alignment never change; the test-suite checks this with 400 random operator strings per font. They are the original operators moved together or joined, not new symbols.
Long runs such as ====, --- and ...., the shifts << >> and the ranges ..= ..< stay as typed. Below 12 px the three bars of === merge: ss08 keeps == === != !== plain and leaves every other ligature on.
nothing is on unless you ask
Your choice of details
Nine switches change one detail each. Turn them on in the playground above to see them in code, or in your editor with the settings line it writes.
46 pairs tested as outlines · 26 as hinted bitmaps
Characters you cannot mix up
1, l, I and | have four different structures. The zero has a dot. q ends in a short tail, so it is not the mirror image of p, and the middle leg of m stops short of the baseline, so rn never reads as m. When a pair was too close, it was measured, redrawn and measured again.
The share of the outline that differs between the two characters, Regular, measured so that moving a glyph cannot raise it. The earlier figure is from the version before the redraw (1.6.0; 1.7.0 for i 1; 1.9.0 for { (, [ ( and * +).
wght 300–700 · italic 9.5°
Five weights, each with a written italic
The italic lowercase is drawn, not slanted: stems leave the baseline to the right, arches branch out of their stem, and f descends. It is made for comments and keywords. Box drawing, arrows and Powerline symbols stay upright in the italic, so a table inside a comment still lines up.
The two variable fonts give every weight in between, for example 450 on a dark theme. They are not hinted, so on Windows at 10 to 14 px the static TTF files are sharper.
U+2500–U+259F · U+E0A0–U+E0B6
At home in a terminal
Box drawing and block elements are complete and join without seams at the font's own line height of 1.23 em. The Powerline separators are built in; the full Nerd Fonts icon set is a separate download.
~/src/varcoda-mono main $ python -m pytest tests -q ........................................................................ [ 94%] .........................................ss.... [100%] 831 passed, 8 skipped in 99.24s ╭──────────┬───────┬───────┬───────╮ │ kB │ ttf │ otf │ woff2 │ ├──────────┼───────┼───────┼───────┤ │ Light │ 84.7 │ 46.8 │ 29.6 │ │ Regular │ 86.2 │ 46.2 │ 30.1 │ │ Medium │ 86.6 │ 46.0 │ 30.3 │ │ SemiBold │ 87.3 │ 46.7 │ 30.6 │ │ Bold │ 87.5 │ 47.3 │ 30.6 │ ╰──────────┴───────┴───────┴───────╯ ╭─ ink at 12–16 px, Regular = 1 ────────────╮ │ Light ██████████▊ 0.69–0.73 │ │ Regular ███████████████▏ 1.00 │ │ Medium ████████████████▉ 1.11–1.13 │ │ SemiBold ██████████████████▍ 1.21–1.23 │ │ Bold ████████████████████ 1.32–1.33 │ ╰───────────────────────────────────────────╯ ~/src/varcoda-mono main $ █
Real numbers from the project: the test-suite run for 2.0.0 on Windows 11 (the 8 skipped tests need fontconfig), the sizes of the 2.0.0 files, and the ink of each weight measured for 1.6.0.
605 characters
Latin, complete where it counts
Basic Latin, Latin-1 Supplement and Latin Extended-A are complete. From Latin Extended-B come the letters of living languages: Ə ə for Azerbaijani, Ơ ơ Ư ư for Vietnamese, ƒ, the pinyin vowels, and Ș ș Ț ț for Romanian.
Not yet: Cyrillic, Vietnamese tone marks, combining marks. Of Greek only Δ Λ Π λ π.
Příliš žluťoučký kůň úpěl ďábelské ódy
Zażółć gęślą jaźń
Árvíztűrő tükörfúrógép
Pijamalı hasta yağız şoföre çabucak güvendi
Høj bly gom vandt fræk sexquiz på wc
Eĥoŝanĝo ĉiuĵaŭde
Azərbaycan · Ə ə
Timișoara · Țara Românească
lǜsè · nǚ'ér · Zhōngwén · Ǎ ǎ Ǒ ǒ
ưu tiên · Ơ ơ Ư ư
Għawdex · Ħamrun
ƒ(x) = x² + 1 · λ → π · ±0.5 × 10³
ten files · one family name
Install
You do not need to clone the repository to use the font. JetBrains IDEs, Zed, Sublime Text, Neovim, Windows Terminal, kitty, WezTerm, Ghostty, Alacritty and iTerm2 are covered in the installation guide.
Download
VarcodaMono-<version>.zipfrom the latest release and open itsttffolder.Install all ten files, so that applications use the real Bold and Italic instead of faking them.
Windows: select, right-click, Install. macOS: Font Book. Linux: copy to
~/.local/share/fonts, thenfc-cache -f.Restart your editor and choose the family
Varcoda Mono.Install the TTF or the OTF files, not both: they share their names.
{
"editor.fontFamily": "'Varcoda Mono', Consolas, 'Courier New', monospace",
"editor.fontSize": 14,
"editor.fontLigatures": true,
"terminal.integrated.fontFamily": "'Varcoda Mono'"
}
<link rel="stylesheet" href="webfonts/varcoda-mono.css">
<style>
code, pre { font-family: "Varcoda Mono", monospace; }
</style>