Monospaced fonts CAN scale

Like many programmers, I have a couple of favorite fixed-width “coding fonts” that I use for writing and viewing source code, however most of them are bitmap based and do not scale up “prettily” by any means.

Fortunately there are some great monospaced fonts that do scale up nicely. In my experience, it is important for me to use both my own favorite fixed-width fonts, and the great fixed-width ones below. This is because at small sized, most vector-based fonts like some below look fantastic at larger sizes, like on web pages or in print, but look fuzzy or blurry in the 8-12pt range in notepad++, gedit, etc. Conversely, my favorite bitmap based fonts only look good at one size, usually in the 8-10pt range, and are pixelated and blocky at larger sizes.

With that in mind, I present to you some smooth and delicious monospaced fonts that retain high legibility (slashed or dotted zeros, 1, l, I distinction, etc).

Inconsolata

The font that actually started me on this post was Raph Levien’s excellent Inconsolata. Spurred on by Luc(as) de Groot’s Consolas (below), Raph created a free and open source monospaced font that renders nicely at high resolutions, and looks great in print:

sample image of the inconsolata font

Inconsolata is still in development and lacks bold/italic styles, but is already in fine shape. Its major drawback is that it currently has no “hinting” support, so it doesn’t play well with Microsoft’s Clear Type technology. Everyone else should find it renders quite nicely, however.

Consolas

Developed by Luc(as) de Groot, Consolas is another nice-looking fixed-width font with good distinction between visually similar characters. Consolas is included in Windows Vista and MS Office 2007, and if you’re using only the included fonts on Vista its the only one with a slashed zero!

sample image of the consolas font

Consolas has full hinting instructions and works great with Clear Type.

Bitstream Vera Sans Mono

Bitstream Vera Sans Mono is a variant of Bitstream Vera. It was designed by Jim Lyles and also has full hinting instructions. Bitstream Vera was released for use under an open source license agreement with the GNOME Foundation, so all you free/OSS developers are good to go!

sample image of the bitstream vera sans monofont

I know Nyrath has his own custom made font, and it’s actually one I use frequently in notepad2 and notepad++. So, what are you guys’/gals’ favorite programming fonts? I’d love to know about any other monospaced fonts I’ve not come across yet.

Tags: , , , ,