Edit Mono · Typeface
every cell, drawn for code.
Rag 0O 1lI
- Styles
- 10
- Weights
- 300 to 700
- Glyphs
- 1,950
- Ligatures
- 12
- Cell
- 0.6 em
- Version
- 0.900
- Download
- 2.3 MB
- Licence
- SIL OFL 1.1
§ 01 · Shapes
straight sides, tight corners.
Every bowl is a box with rounded corners, so letters fill their cells and line up like the grid they sit in.
-
A slashed zero
The zero carries a slash from corner to corner of its counter, so it never reads as a capital O.
-
Three different ones
One has a flag and a foot. Lowercase L curves away at the baseline. Capital I wears two bars.
-
Square dots
Dots are squares, on the letters and in the colon, the comma and the full stop.
-
Flat cuts
Open letters end in a flat horizontal cut, which keeps their openings wide at small sizes.
-
True diagonals
A diagonal is set by its thickness across the stroke, so a shallow one is no heavier than a steep one.
-
One corner
A single corner radius drives every bowl and arch, in letters, digits and brackets alike.
§ 02 · Tester
set it in your own code.
Pick a sample, a weight and a size. Ligatures and italics switch on and off. Nothing here needs a script.
// Raise the font size limit to 48.
fn clamp(size: u32) -> Result<u32, Error> {
if size <= 48 && size >= 8 {
return Ok(size);
}
Err(Error::OutOfRange { size, max: 0x30 })
}
let sizes: Vec<u32> = rows.iter().map(|row| row.size).collect();
assert!(sizes != old && sizes.len() == 12);type Agent = { name: string; busy: boolean };
export const idle = (agents: Agent[]) =>
agents.filter((agent) => !agent.busy).map((agent) => agent.name);
if (idle(all).length === 0 || limit <= 0) {
throw new Error(`No agent is free (limit ${limit}).`);
}
const next = queue.shift() ?? { name: "anna", busy: false };def diagonal(run: float, rise: float, thick: float) -> float:
# Width along the row of a stroke that is `thick` across.
width = thick
for _ in range(12):
dx = run - width
width = thick * (dx**2 + rise**2) ** 0.5 / abs(rise)
return width
widths = {name: diagonal(880, 1417, 171) for name in ("N", "Z", "7")}$ git status --short | wc -l
$ cargo build --release 2>&1 | tail -n 1
$ ls -la target/release | grep -E '^-rwx' | awk '{ print $5, $9 }'
$ for f in *.ttf; do fc-scan --format "%{family}\n" "$f"; done
$ echo "0O 1lI |!| {[()]} <=> != -> ::"
0O 1lI |!| {[()]} <=> != -> ::§ 03 · Family
five weights, each with an italic.
From Light to Bold, every weight is drawn from the same definitions with a heavier stroke. The italics lean the same forms 8.75 degrees.
Light300 · stem 131
Every agent, one window. 0123456789
Every agent, one window. 0123456789
Regular400 · stem 180
Every agent, one window. 0123456789
Every agent, one window. 0123456789
Medium500 · stem 197
Every agent, one window. 0123456789
Every agent, one window. 0123456789
SemiBold600 · stem 214
Every agent, one window. 0123456789
Every agent, one window. 0123456789
Bold700 · stem 234
Every agent, one window. 0123456789
Every agent, one window. 0123456789
§ 04 · Ligatures
two characters, one mark.
Twelve sequences join into a single drawing. Each still takes every cell it was typed in, so columns stay aligned and the caret can stop between the characters.
-
Arrow: ->
-
Back arrow: <-
-
Both ways: <->
-
Fat arrow: =>
-
Compare: <=>
-
Equal: ==
-
Identical: ===
-
Not equal: !=
-
Not identical: !==
-
At most: <=
-
At least: >=
-
Path: ::
-
On by default
They live in the standard contextual alternates feature, which applications apply unless you turn font ligatures off.
-
Runs are left alone
Four equals signs or three colons in a row stay as typed, so rules and dividers in comments do not change.
-
The text is untouched
A ligature changes only what is drawn. Search, copy and the file keep the characters you typed.
§ 05 · Glyphs
Latin, Cyrillic and the terminal's own.
The letters, digits and symbols are drawn for Edit Mono. Box drawing, blocks, Braille and arrows come along from the typeface it is built on, at the same weight.
Capitals · 26
ABCDEFGHIJKLMNOPQRSTUVWXYZ
Lowercase · 26
abcdefghijklmnopqrstuvwxyz
Digits · 10
0123456789
Symbols · 32
{}[]()<>=/\*#@&|!?.,:;"'`~^%$+-_
Punctuation · 21
‘’‚“”„«»‹›…•·×÷±¬¦°¡¿
More Latin · 28
ØøÆæŒœßẞÐðÞþŁłĐđĦħµªº¢€¥£¶©®
Accents · 22
áàâäãåčçďéěíñóöřšťúůýž
Cyrillic capitals · 32
АБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯ
Cyrillic lowercase · 32
абвгдежзийклмнопрстуфхцчшщъыьэюя
Box and blocks · 23
─│┌┐└┘├┤┬┴┼═║╔╗╚╝░▒▓█▀▄
Arrows · 6
←↑→↓↔↕
§ 06 · Download
free, for anything you make.
One zip holds all ten styles as TTF and WOFF2, with the licence. Use them in your terminal, your tools and your own products.
Install it in one line
All ten styles, roman and italic, into your fonts folder, the zip checked against its SHA-256 first. No sudo. Read it first.
curl -fsSL https://rustedit.dev/edit-mono/install.sh | shLicence
Edit Mono is licensed under the SIL Open Font License 1.1. You may use it, bundle it, embed it and change it, in personal and commercial work. You may not sell the fonts on their own.
In the zip
EditMono/
├── OFL.txt
├── ttf/
│ ├── EditMono-Light.ttf
│ ├── EditMono-LightItalic.ttf
│ ├── EditMono-Regular.ttf
│ ├── EditMono-Italic.ttf
│ ├── EditMono-Medium.ttf
│ ├── EditMono-MediumItalic.ttf
│ ├── EditMono-SemiBold.ttf
│ ├── EditMono-SemiBoldItalic.ttf
│ ├── EditMono-Bold.ttf
│ └── EditMono-BoldItalic.ttf
└── woff2/
└── the same ten stylesInstall
macOS
- Unzip, then open the ttf folder.
- Select the ten files and double click.
- Press Install in Font Book.
Windows
- Unzip, then open the ttf folder.
- Select the ten files.
- Right click and choose Install.
Linux
- Unzip, then copy the ttf folder to ~/.local/share/fonts.
- Run fc-cache -f.
- Choose Edit Mono in your terminal.
Turn it on
- Edit
- Nothing to do. Edit ships with Edit Mono.
- CSS
- font-family: "Edit Mono", ui-monospace, monospace;
- Ligatures off, in CSS
- font-feature-settings: "calt" 0;
- A terminal or an IDE
- Choose the family named Edit Mono in its font setting.