Varcoda Mono
2.0.0 what's new SIL Open Font License 1.1689 glyphs

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.

400 advance 600x-height 540cap height 7201000 units per em

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.

{ }
BracesEnd in a pointed beak at the height of the operators. { and ( now differ by 66 % of their outline; 44 % in 1.9.0.
( )
ParenthesesA full quarter ellipse, wider than before. [ and ( are 74 % apart; 59 % in 1.9.0.
* +
AsteriskArms that taper to the hub and widen at the tips, so it stays open at 11 px. * and + 62 % apart; 56 % before.
^ <
CaretThe chevron of < turned upright, with the same sharp apex.
x - 1 -> y = ~z
Hyphen, equals, tildeThe hyphen is as long as the bars of -> and --, = has more air between its bars, and ~ is lighter in the middle, all on the operator axis.
12:30 a ?: b
The colon in codeBetween figures and next to ? = : it rises to the operator axis. In prose, as in key: value, it stays where it is. Part of calt.
.. ... <> =~
Four new ligaturesRanges and spreads close up, <> and =~ move together; 33 in all, still one cell per character. ..= and ..< stay plain.
a*b
ss01, raised asteriskThe asterisk on the x-height, for footnotes and the habit of older code fonts. Off unless you ask.
main 12 30
not in 1.9.0
PowerlineRounded separators U+E0B4 and U+E0B6 and the column number U+E0A3, upright in the italics.

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.

15 px
400
Features
VS Code settings.json

          
        

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.

6 8
46 %apart, was 24 %
9 8
79 %apart, was 41 %
i 1
38 %apart, was 29 %
{ (
66 %apart, was 44 %
[ (
74 %apart, was 59 %
` '
95 %apart, was 63 %
* +
62 %apart, was 56 %

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 * +).

0O 1lI| i1 38B 5S 2Z 6G 68 98 9gq OQ0D rnm cld
0.0 px

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.

Light300
if (n >= limit) return buf;
// affix the jiffy to the fjord
Regular400
if (n >= limit) return buf;
// affix the jiffy to the fjord
Variable450
if (n >= limit) return buf;
// affix the jiffy to the fjord
Medium500
if (n >= limit) return buf;
// affix the jiffy to the fjord
SemiBold600
if (n >= limit) return buf;
// affix the jiffy to the fjord
Bold700
if (n >= limit) return buf;
// affix the jiffy to the fjord

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.

varcoda-mono · 15 px · line height 1.23
~/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 Δ Λ Π λ π.

Czech

Příliš žluťoučký kůň úpěl ďábelské ódy

Polish

Zażółć gęślą jaźń

Hungarian

Árvíztűrő tükörfúrógép

Turkish

Pijamalı hasta yağız şoföre çabucak güvendi

Danish

Høj bly gom vandt fræk sexquiz på wc

Esperanto

Eĥoŝanĝo ĉiuĵaŭde

Azerbaijani

Azərbaycan · Ə ə

Romanian

Timișoara · Țara Românească

Pinyin

lǜsè · nǚ'ér · Zhōngwén · Ǎ ǎ Ǒ ǒ

Vietnamese

ưu tiên · Ơ ơ Ư ư

Maltese

Għawdex · Ħamrun

Code

ƒ(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.

  1. Download VarcodaMono-<version>.zip from the latest release and open its ttf folder.

  2. 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, then fc-cache -f.

  3. Restart your editor and choose the family Varcoda Mono.

    Install the TTF or the OTF files, not both: they share their names.

VS Code, Cursor, VSCodium
{
  "editor.fontFamily": "'Varcoda Mono', Consolas, 'Courier New', monospace",
  "editor.fontSize": 14,
  "editor.fontLigatures": true,
  "terminal.integrated.fontFamily": "'Varcoda Mono'"
}
Websites
<link rel="stylesheet" href="webfonts/varcoda-mono.css">
<style>
  code, pre { font-family: "Varcoda Mono", monospace; }
</style>