This repo is a collection of my favorite open source fonts. It exists as a convenience for myself.
All fonts obtained from Google Fonts with exceptions:
Inconsolata
was obtained from https://github.com/googlefonts/InconsolataLigconsolata
was obtained from https://github.com/googlefonts/Inconsolata
In each example I used the following test string:
Object.keys({
qwro: 123,
dflu: 456,
zxmp: 7890,
}).map(([k, v]) => [
k === v,
k !== v,
k <= v,
k >= v,
k + v,
`"This is a 'string'"`
])
Here are the screenshots of the samples in order of my favorite:
This is my favorite because it looks a lot like Monaco, which is my favorite non open source font on Mac OSX.
This font looks professional and easy to read.
Similar to Source Code Pro, this font is clean and easy to read, but x-height is a little taller, which makes it easier to read on super small font sizes (like a terminal).
The only reason I like this one is that it looks spacey. I have not found a practical use for it.
It was not until I pulled down the source code for Inconsolata
that I discovered Ligconsolata
, which is Inconsolata
with Ligatures!
You need to enable font ligatures in VS Code to get some fonts to work right. I also tend to have to mess with the line height and letter spacing in settings.
{
"editor.fontFamily": "Ligconsolata, Consolas, 'Courier New', monospace",
"editor.fontLigatures": true,
"editor.fontSize": 16,
"editor.lineHeight": 20,
"editor.letterSpacing": 0.6,
}