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.
a -> b != c
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.
fn main() {
let v = vec![1, 2, 3];
for x in &v {
println!("{x}");
}
}
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.
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).
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
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.
Double-click each file and press Install, or:
cp MesloCode/*.ttf ~/Library/Fonts/
Copy to your fonts folder and refresh the cache:
mkdir -p ~/.local/share/fonts cp MesloCode/*.ttf ~/.local/share/fonts/ fc-cache -f
Select the four .ttf files in MesloCode\, right-click and choose Install.
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
| iTerm2 | Profiles → Text, check Use ligatures |
| Ghostty | font-family = Meslo Code |
| kitty | font_family Meslo Code |
| WezTerm | wezterm.font 'Meslo Code' |
| Terminal.app | font only, no ligatures |
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>
| REV | DATE | DESCRIPTION |
|---|---|---|
| 1.0.0 | 2026-11-06 | First 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. |
Meslo Code is assembled, not drawn from scratch. Every letter, ligature and icon in it is the work of the people below.