By tbreffni


2008-08-07 13:08:44 8 Comments

What fonts do you use for programming, and for what language/IDE? I use Consolas for all my Visual Studio work, any other recommendations?

30 comments

@Jeremy Banks 2008-08-22 19:26:55

DejaVu Sans Mono (sometimes known as Panic Sans), size 11, anti-alised. Previously I only used fonts that weren't anti-aliased, but it just seems to work for this font.

Screenshot of Panic Sans in Sublime Text

@Matias Nino 2008-09-18 17:02:27

I'm amazed nobody has mentioned Pragmata. It's the BMW of programming fonts. Condensed, readable, and the pinnacle of simple elegance.

alt text http://www.fsd.it/fonts/imm/pr_abc.gif

There is now a fundraising project going on for PragmataPro (which covers a larger portion of Unicode than Pragmata) to make it available for free under a Creative Commons license!

@Brad Wilson 2008-10-20 07:35:53

It's a pretty hard sell for someone to spend ~ $125-150 on a programming font.

@Matias Nino 2008-10-20 18:17:14

That's a good point. It's definitely a luxury. The author gave me a discount though (upon request) and I'm sure he would do the same for any bulk purchases.

@wishi 2009-02-03 12:58:17

I use it, too ;) But the 0 and the O are too similar I think. And the I and the l. Therefore I sometimes switch back to Courier. Mentioning price: how long do you watch this font?

@Nosredna 2009-06-01 04:34:23

Bulk purchases? Like buying all the characters at once?

@e100 2010-03-08 13:06:56

Important to note that that €90 price is for up to "5 computers of one company" - this is quite standard for font licencing.

@Cetin Sert 2011-11-03 07:10:50

There is now a fundraising project going on for PragmataPro (which covers a larger portion of Unicode than Pragmata) to make it available for free under a Creative Commons license: indiegogo.com/… .

@mbillard 2008-08-09 04:49:02

I really really like DejaVu Sans Mono. It is very clean and easy on the eyes.

enter image description here

@Trevoke 2010-02-25 14:27:13

I like the DejaVu fonts a lot better than the Consolas; I'm not sure why so many people like Consolas so much, actually.

@Tikhon Jelvis 2011-07-13 20:17:22

I also like this one more than Consolas. Additionally, it has a wide range of rarer characters like arrows that are nice when using things like font-lock-symbol-mode for Haskell. Being able to use the same typeface for Cyrillic as well is also really nice.

@Theodore Zographos 2011-11-02 13:54:02

Excellent font. Bye, bye Courier New

@slebetman 2010-01-03 00:40:56

I swear by DejaVu Sans Mono

@tae 2009-12-04 07:22:38

-2 for Bitstream Vera Sans Mono -- it has an dotted zero - released this font as an free download after an modification.
+2 for Prima Sans Mono -- lacks an dotted zero - need an free download for RapidShare to extend the font to an terminal.

@someguy 2009-11-25 11:01:50

try Lucida Grande.. Amazing!!

@Sam Hasler 2008-08-23 20:34:59

Two pages where there's a long list of programming fonts are these pages on keithdevens.com and lowing.org (dead link, but it's in the internet archive)

Some other discussions of programming fonts that may have more suggestions are the comments to this blog post on typographica and this topic on a text editor's forum.

Personally I like Triskweline:

alt text http://www.netalive.org/tinkering/triskweline/shot.gif

@cori 2009-10-19 13:35:19

The lowing.org link doesn't work for me - actually found it in 2 different places this morning, neither of which worked.

@Lucas Gabriel Sánchez 2008-09-23 16:59:37

I recommend Lucida Console for Windows users and Adobe Courier for Linux/Unix, with a size of 10pt these fonts looks great! and very legible

Edit:

I've been saying that using Lucida Console was a real good option, well, now I know Consolas :)

@Rz Mk 2009-08-20 03:13:39

Fixedsys Excelsior 2.00, Raize, and the usuals.

http://kaishaku.org/codefonts/

@deceze 2009-08-20 03:08:19

I use ForMateKonaVe, which is a merge of Bitstream Vera Sans Mono and a half-width'd Konatsu. I use a lot of Japanese here and there and this is the best way to display it in TextMate.

KonaVe

@mk12 2009-08-20 02:53:41

Consolas. Italic for comments. Only way. Nahh just kidding, the best programming font is this! Here's your first C program:

The image link must not be working, tell me in a comment http://img40.imageshack.us/img40/8008/picture1iqv.png
Recommended for high readability.

@natas 2009-06-24 23:45:04

arial is best

@dlamblin 2008-08-25 21:29:44

Back in my Mac LC days I swore by Monaco 9pt, mostly for it's slashed 0. I never quite got used to the default line-height though.

monaco sample http://www.k8zt.com/ham_fonts/monaco.jpg

It's a little hard to track down in the original non-OS-X version.

@different 2008-10-10 09:35:09

It's installed as a default font on OS X Leopard (10.5). Or is this a different font?

@a paid nerd 2009-05-09 23:00:22

ProFont was derived from Monaco 9pt and is practically the same.

@ayaz 2009-06-01 04:46:06

Monaco, 11pt, antialias, on Mac OS X. Looks ever better, and crisper on darker backgrounds.

alt text http://www.fabernitor.net/ayaz/monaco11pt.png

@Rook 2009-05-22 07:09:27

Consolas and Courier New under Windows, Inconsola under *nix. I really miss the old IBM terminal fonts, though. The one from green/orange terminals.

@Alconja 2009-05-22 06:57:02

I use MonteCarlo, which is based on ProFont but has a bold face too. That way IDEs/editors that use bold as part of their syntax highlighting leave your text still properly fixed width.

java example http://bok.net.nyud.net/MonteCarlo/images/java-example.png quick brown fox example http://bok.net.nyud.net/MonteCarlo/images/screenshot-small.gif

Like ProFont, Proggy & others, its quite small (& being bitmap based, obviously doesn't scale), but I like a small font for coding and its still extremely clear and easy on the eyes.

@Vineet Reynolds 2009-09-06 14:00:49

I've never found a better font after MonteCarlo. You've forgot to mention the biggest reason for using it - you can see more code with it than any other font.

@Finglas 2009-05-07 19:44:55

Consolas - recently switched over to it and it's lovely.

@al. 2009-04-23 13:24:55

Any sans-serif.

@Andrei 2009-03-26 21:06:46

Consolas, works great for various font sizes, and I can't find anything better.

@Krzysztof Krasoń 2009-02-03 12:45:54

I use Terminuse in almost everything (Eclipse, putty and other terminals): http://fractal.csie.org/~eric/wiki/Terminus_font

I must say that I don't get it why most people use small fonts like 9pt, do you have 14" monitors or what?

For me the best way is to use font size that makes my monitor display at most one 30-40 line method, this way I need to create smaller methods :)

@kyku 2009-03-06 20:53:21

+1 for Terminus I can't live w/o it. However there should be a 9.5 versions, as 10 seems a little bit too big and 9 bit too small.

@Krzysztof Krasoń 2009-08-25 09:24:42

you like small fonts :) I would like the font in size 16,17 but I think it's only available in 14 and 18, the first is to small, the second too big :)

@buzzan 2009-01-29 03:46:35

I like consolas too.

@deadprogrammer 2008-08-07 13:28:17

Either Consolas (download) or Andale Mono (download). I mostly use Andale Mono. I wrote an article about programming fonts a long time ago, I think Consolas wasn't even out yet.

http://www.deadprogrammer.com/photos/fonts.gif

I find that typing Illegal1 = O0 is a good test of suitability.

@Tom Kidd 2008-09-23 17:08:08

Consolas is great if you're running ClearType on an LCD (though I haven't tried it on a CRT). Consolas is horrible if you don't have ClearType on because it was made with ClearType in mind.

@Martin Beckett 2008-09-23 17:14:29

Is it only me that thinks cleartype makes everything look slight out of focus? (ye sI do have an LCD!)

@rshimoda 2008-10-15 10:18:10

Consolas makes me feel sick... proFont and Andale are waaaay batter.

@TravisO 2008-11-26 19:13:19

The Consolas link above only works if you have Visual Studio installed. Otherwise download the Powerpoint 2007 Viewer which contains the font. microsoft.com/downloads/…

@PhiLho 2008-11-29 09:06:06

@mgb: YES! Sometime I activate ClearType to check again, and find everything to be fuzzy. I am probably too old school, but I prefer crisp characters, at least with small sizes. That's why I still prefer Andale Mono (or Bitstream Vera Sans Mono) over Consolas.

@John Bubriski 2009-02-13 16:33:04

Yeah I don't like ClearType either, but is definitely required for certain fonts, at least at the smaller sizes (8 or 9 pt).

@mhd 2009-03-03 11:41:55

IMHO, double underscore "__" is good addition to test of suitability

@Mehrdad Afshari 2009-06-24 23:23:20

To be fair, everything is horrible without ClearType

@zvolkov 2009-10-29 01:28:37

Dotted zeros? Oh no!

@singpolyma 2008-12-17 16:01:06

Any monospace font, really. I honestly don't find it matters too much past that.

@user32141 2008-11-09 19:05:31

Bitstream vera sans, a Gnome font. I find its much clearer than Consolas, which is pretty good too.

alt text

@Gary Willoughby 2009-04-16 17:17:15

Awesome font, i have used it for ages.

@ 2008-11-09 18:51:14

bitstream vera sans mono

@user34411 2008-11-05 01:11:07

Raize Font

The Raize Font is a clean, crisp, fixed-pitched sans serif screen font that is much easier to read than the fixed pitched fonts that come with Windows. Ideally suited for programming, scripting, html writing, etc., the Raize Font can be used in any IDE or text editor.

@utku_karatas 2008-11-04 12:04:15

@mkoeller 2008-11-03 10:13:21

Yet another vote from me for Consolas. I use it since I learned about it from Jeff's blog post. Thanks to you for this advice. It made me improve an aspect of my daily programming life, which I didn't think about much before.

@niXar 2008-11-03 09:48:04

Nobody's mentioned it yet, so let me just mention DejaVu Sans Mono, which is a fork of Vera Sans Mono, and is included in most Linux distribs. It supports most of Unicode.

@dgw 2008-10-27 23:07:36

I just use Courier New, or whatever monospace font I have available.

However, I sometimes like using sans-serif (currently Comic Sans MS) for comments in Notepad++. (However, I now tend more to switch everything to monospace just for consistency in spacing and such.)

Related Questions

Sponsored Content

10 Answered Questions

[SOLVED] CSS Font Border?

  • 2010-04-03 10:35:02
  • Lars Tackmann
  • 712004 View
  • 464 Score
  • 10 Answer
  • Tags:   css fonts

14 Answered Questions

[SOLVED] Proper MIME type for fonts

  • 2010-05-20 07:09:08
  • David Hedlund
  • 200030 View
  • 241 Score
  • 14 Answer
  • Tags:   mime fonts

32 Answered Questions

[SOLVED] Can I embed a custom font in an iPhone application?

  • 2008-12-11 20:21:11
  • Airsource Ltd
  • 235824 View
  • 771 Score
  • 32 Answer
  • Tags:   ios cocoa-touch fonts

18 Answered Questions

[SOLVED] Custom fonts and XML layouts (Android)

21 Answered Questions

[SOLVED] How to add some non-standard font to a website?

2 Answered Questions

[SOLVED] Using .otf fonts on web browsers

1 Answered Questions

[SOLVED] How to get Visual Studio 2012 to render monospaced fonts correctly?

5 Answered Questions

[SOLVED] Default Visual Studio 2010 and 2008 font

24 Answered Questions

[SOLVED] How can you program if you're blind?

Sponsored Content