Revisiting Programming Fonts

I’ve experimented with programming fonts and IDE color schemes plenty in the past. But now that I’ve given in to the inevitability of ClearType on large LCDs, I’ve basically settled on Consolas. It’s hard to beat Consolas. It’s darn close to the ultimate monospace programming font in my estimation. That’s why I was so intrigued when I read about Inconsolata, a non-denominational OpenType relative of Consolas, which unlike Consolas, works equally well with ClearType enabled or disabled.

Once I tried out Inconsolata, I figured I might as well revisit all the common, popular programming fonts under the same conditions. So here goes. These are rendered under Windows Vista, with ClearType enabled, using my standard programming font comparison code sample.

Consolas, 11 point.

Consolas font, code sample

Inconsolata, 11 point.

Inconsolata font, code sample

Monaco, 11 point.

Monaco font, code sample

Envy R, 11 point.

Envy R font, code sample

Vera Sans Mono, 11 point.

Vera Sans Mono font, code sample

Pragmata, 11 point.

Pragmata font, code sample

Courier New, 11 point.

programming-fonts-2-couriernew.png

Lucida Typewriter, 11 point.

Lucida Sans Typewriter font, code sample

The Font of the Gods, 11 point.

Comic Sans font, code sample

Andale Mono, 11 point.

Andale Mono font, code sample

Choice of programming font is as much a personal preference as anything else. Decide for yourself what works for you. I’ll limit my comments to a few observations:

  1. Please don’t use the default Courier New typeface. Be kind to your eyes.
  2. Personally, I still don’t think anything beats Consolas; it’s an outstanding monospace typeface design, highly optimized for ClearType display on LCDs.
  3. I’ll never understand the appeal of Monaco amongst the Mac crowd. It’s an unreadable mess to my eye.

Related posts

Comic Sans, the Font Of The Gods

You may be familiar with the font Comic Sans MS: Over the last 5 years, my wife and I noticed that this annoying font is inordinately popular “in the wild” – we’ve seen it in the strangest places. Enough so that it has become a running joke whenever we see

By Jeff Atwood ·
Comments

Recent Posts

Let's Talk About The American Dream

Let's Talk About The American Dream

A few months ago I wrote about what it means to stay gold — to hold on to the best parts of ourselves, our communities, and the American Dream itself. But staying gold isn’t passive. It takes work. It takes action. It takes hard conversations that ask us to confront

By Jeff Atwood ·
Comments
Stay Gold, America

Stay Gold, America

We are at an unprecedented point in American history, and I'm concerned we may lose sight of the American Dream.

By Jeff Atwood ·
Comments
The Great Filter Comes For Us All

The Great Filter Comes For Us All

With a 13 billion year head start on evolution, why haven’t any other forms of life in the universe contacted us by now? (Arrival is a fantastic movie. Watch it, but don’t stop there – read the Story of Your Life novella it was based on for so much

By Jeff Atwood ·
Comments
I’m feeling unlucky... 🎲   See All Posts