Free monospace font for programmers

runs on Linuxruns on Macruns on Windows
screenshot of Anonymous Pro

If you've written computer code for any length of time, you know that you can end up with screen after screen and page after page of complicated text. Whether it's writing desktop apps in a language like C++ or Java, scripting in Perl or Python, or writing web pages in HTML or PHP, one of the tricks you've no doubt learned, is that it makes the most sense to use a monospace font while you're coding. Proportional fonts like Times New Roman or Arial can mess-up the spacing in your code, especially if you jump back and forth between using TABs and individual spaces to indent lines of text. With a monospace font, that's not a problem, since the character in Column #4 will always line up precisely with all the other characters in Column #4 of every other line in the file.

Courier and its variants come as standard equipment on most systems. Using that trusty old typewriter-looking font accomplishes the "everything lines up" objective, but it's not too much fun to look at. There aren't lots of other monospace fonts to choose from.

Anonymous Pro is a monospace font that you should be able to use on just about any system that supports True Type fonts. It's specially designed so that characters that look alike—the letter "O" and the digit "0", for example—are deliberately made to look different, so there's no more guessing what a given character really is.

A free download, Anonymous Pro can be used with systems running Windows, OS X (but not old Macs still running System 9, etc.), as well as most flavors of Linux.

Download Anonymous Pro

One Response to “Free monospace font for programmers”

  1. Consolas Programming Font says:

    Consolas is intended for use in programming environments and other circumstances where a monospaced font is specified. All characters have the same width, like old typewriters, making it a good choice for personal and business correspondence. Optimizing the font specifically for ClearType allowed a design with proportions closer to normal text than traditional monospaced fonts like Courier. This allows for more comfortable reading of extended text on-screen.

    http://www.microsoft.com/downloads/details.aspx?familyid=22e69ae4-7e40-4807-8a86-b3d36fab68d3&displaylang=en