Pixel-perfect monospaced font for code. No ligatures. No surprises.
See how Sergamon renders real code. Switch languages or type your own.
The same code rendered in Sergamon and popular programming fonts.
These principles guided the design of Sergamon from the very beginning. For the best experience, set up your editor according to them.
Inspired by classic terminals. No bold.
What you type is what you see.
Each pixel matters. No space between rows
Glyphs are designed to tile on the pixel grid.
Commonly confused characters rendered side-by-side at multiple sizes.
| Characters | 16px | 24px | 32px |
|---|
Browse all available glyphs. Hover over any character to see it enlarged.
Get Sergamon set up in your favorite environment.
Recommended settings
Sergamon is a pixel-art font. For best results, disable anti-aliasing (font smoothing), disable bold text, and set letter-spacing to 0. Some programs (e.g. iTerm2) artificially synthesize bold when no bold variant exists -- this distorts the glyphs. Sergamon has a single weight by design.
Download the TTF files from the latest release, then double-click to open in Font Book.
curl -LO https://github.com/sgmonda/sergamon/releases/latest/download/Sergamon.ttf open Sergamon.ttf
cp Sergamon.ttf ~/Library/Fonts/
Download the TTF files from the latest release, right-click each file, and select "Install for all users".
# PowerShell Invoke-WebRequest -Uri "https://github.com/sgmonda/sergamon/releases/latest/download/Sergamon.ttf" -OutFile "$env:TEMP\Sergamon.ttf" Copy-Item "$env:TEMP\Sergamon.ttf" "C:\Windows\Fonts\"
mkdir -p ~/.local/share/fonts curl -LO https://github.com/sgmonda/sergamon/releases/latest/download/Sergamon.ttf mv Sergamon.ttf ~/.local/share/fonts/ fc-cache -fv
Follow the instructions for your OS above, then restart VS Code.
{
"editor.fontFamily": "'Sergamon', 'Courier New', monospace",
"editor.fontSize": 16,
"editor.lineHeight": 1,
"editor.letterSpacing": 0,
"editor.fontLigatures": false,
"editor.fontWeight": "normal",
"terminal.integrated.fontWeight": "normal",
"terminal.integrated.fontWeightBold": "normal",
"terminal.integrated.letterSpacing": 0
}
Follow the instructions for your OS above, then restart IntelliJ.
Go to Settings → Editor → Font and set:
Font: Sergamon Size: 16 Line height: 1 Enable ligatures: unchecked
Go to Settings → Appearance & Behavior → Appearance and set both Antialiasing dropdowns (IDE and Editor) to No antialiasing.
Follow the instructions for your OS above, then restart Zed.
Open settings with
Zed → Settings → Open
Settings
(or Cmd+,) and add:
{
"buffer_font_family": "Sergamon",
"buffer_font_size": 16,
"buffer_line_height": {
"custom": 1.0
},
"buffer_font_features": {
"liga": false,
"calt": false
}
}
Preferences → Profiles → Font → Change → Select "Sergamon" (size 16).
Preferences → Profiles → Text → Font → Select "Sergamon". Then uncheck "Draw bold text in bold font" and "Draw bold text in bright colors".
{
"profiles": {
"defaults": {
"font": {
"face": "Sergamon",
"size": 16
},
"intenseTextStyle": "none"
}
}
}
[font]
normal = { family = "Sergamon", style = "Regular" }
bold = { family = "Sergamon", style = "Regular" }
size = 16.0