MESLO CODE ->

Meslo Code is a monospaced font for code. Menlo’s exact line spacing, ~140 programming ligatures from Fira Code and 10,611 Nerd Fonts icons. Free and open source.

a -> b != c

LIGATURES
STYLE
LINES 0COLS 0LIGATURES 0
TITLEMESLO CODE
DWG NO.MC-1.0.0
SHEETS4 STYLES
SCALE1 : 1
LICENSESIL OFL 1.1
  DOWNLOAD.zip · 11 MB · ttf + woff2

Menlo’s line spacing, to the unit.

Meslo LG S adds 200 units to every line. Meslo Code takes them back out: ascent 1901, descent 483, the same numbers Menlo uses. The same code fills the same height as the font you are used to.

MESLO LG S superseded

2584 u
1.262 em
fn main() {
    let v = vec![1, 2, 3];
    for x in &v {
        println!("{x}");
    }
}

MESLO CODE = Menlo

2384 u
1.164 em
fn main() {
    let v = vec![1, 2, 3];
    for x in &v {
        println!("{x}");
    }
}

Six lines, two heights. The width does not change at all: every character is 1233 units wide in both, exactly like Menlo, so columns and alignment stay where they were.

Ligatures that keep the grid.

Each ligature is drawn across the cells of the characters it replaces, so -> still takes two columns and the cursor still stops between them. Large: the ligature (REV B). Small: the characters typed (REV A).

69 shown · ~140 in the fontHover a cell to mark itTurn ligatures off any time in your editor

10,611 icons, in the same font.

The complete Nerd Fonts set is built in, so prompts, file trees and status bars render their symbols without a second font. A sample of the parts list:

  ~/projects/api   main  2   20.11  npm run build && ./deploy.sh --env=prod

Install in a minute.

Download the zip, install the four .ttf files, then pick Meslo Code in your editor and terminal. Close and reopen any app that was running.

macOS

Double-click each file and press Install, or:

cp MesloCode/*.ttf ~/Library/Fonts/

Linux

Copy to your fonts folder and refresh the cache:

mkdir -p ~/.local/share/fonts
cp MesloCode/*.ttf ~/.local/share/fonts/
fc-cache -f

Windows

Select the four .ttf files in MesloCode\, right-click and choose Install.

VS Code

The terminal does not inherit the editor font, so set both. Ligatures are off by default.

"editor.fontFamily": "'Meslo Code', Menlo, monospace",
"editor.fontLigatures": true,
"terminal.integrated.fontFamily": "'Meslo Code', Menlo, monospace",
"terminal.integrated.fontLigatures.enabled": true

Terminals

iTerm2Profiles → Text, check Use ligatures
Ghosttyfont-family = Meslo Code
kittyfont_family Meslo Code
WezTermwezterm.font 'Meslo Code'
Terminal.appfont only, no ligatures

Web pages

Copy MesloCode/web/ next to your site. Pages without icons download only the 36 KB Latin files.

<link rel="stylesheet" href="web/meslo-code.css">
<style> code, pre { font-family: "Meslo Code", Menlo, monospace; } </style>
REVISION HISTORY
REVDATEDESCRIPTION
1.0.02026-11-06First release. Meslo LG S 1.2.1 with Menlo’s vertical metrics, Fira Code ligatures, Nerd Fonts 3.5.1 complete icon set. Regular, Bold, Italic, Bold Italic. Desktop .ttf and web .woff2.

Acknowledgements

Meslo Code is assembled, not drawn from scratch. Every letter, ligature and icon in it is the work of the people below.

  • Jim Lyles, BitstreamBitstream Vera Sans Mono, the original design every glyph descends from, released under a license that lets it grow.
  • Tavmjong BahArev fonts, extending Vera with Greek, Cyrillic and many more glyphs.
  • The DejaVu projectYears of extending and maintaining the Vera family in the open.
  • AppleMenlo, whose proportions and line spacing Meslo Code matches. Menlo itself is not included.
  • André BergMeslo LG, the customized Menlo this font is built on (Apache 2.0).
  • Nikita Prokopov and the Fira Code authorsFira Code, where the programming ligatures come from (SIL OFL 1.1).
  • Ilya Skriblovsky, ToxicFrog and contributorsLigaturizer, which grafts Fira Code’s ligatures onto other fonts.
  • Ryan L McIntyre and the Nerd Fonts contributorsNerd Fonts and its font patcher, plus the authors of every icon set it bundles.
  • George Williams and the FontForge teamFontForge, the editor that runs every build step.
  • The fontTools maintainersfontTools, used for the web subsets and woff2 files.