views:

142

answers:

6

For a long time I used Courier New as default font for my code editor, until I got more into typography and found this new fixed-width font called Triskweline: Triskweline - Example

The font is beautiful, but unfortunately it works only at size 10pt.

This made me wonder: what (custom) font do you use for your code editor?

+11  A: 

I use Consolas.

Joey
Easy on the eyes and distinguishes between zero and the letter O and between one and the letter I.
Canoehead
+1 I love Consolas.
Jeremy Roberts
consolas with ClearType enabled looks really good.
Naveen
So does StackOverflow :)
Dan Tao
Same here. Great font.. looks good at different sizes, bold or plain.
MonkeyMagic
A: 

Consolas is available in newer versions of Windows and as a download from Microsoft. It is also in common use on Mac OS X (it's on my Mac, and I assume it came with the OS, though I can't say for sure).

Another time-tested option is proggy fonts, which are explicitly designed for programmers. I personally can't abide bitmap fonts, but many programmers can't abide smooth fonts, and swear by proggy.

Marcelo Cantos
Aren't you confusing a few things there? Consolas is a Windows font and therefore it might be more correct to say that you can get it for OS X as well.
Joey
Good catch, Johannes. I was confusing it with Mac OS X's Monaco font, which Consolas is meant to replace. I've amended the answer accordingly.
Marcelo Cantos
+2  A: 

There's Inconsolata. I have been using it both in an IDE and for my terminals without much trouble.

Sebastien Tanguy
A: 

DejaVu Sans Mono in TextPad, Consolas in VS2008.

Kawa
A: 

True hardcore programmers use ProgFont. All necessary features are in it: monospace, clear distinction between 0 and O, I, 1 and l, etc :)

alt text

nailxx
Yes, all necessary features... except one... ;)
Dan Tao
@Dan: Readability? ;-)
Joey
+1  A: 

I use the Dina Programming Font myself. Kinda limited in sizes since it is bitmap based, but it is very readable in my experience. It is based on the Proggy Fonts already mentioned by Marcelo Cantos above.

Stigma