share
Stack OverflowRecommended Fonts for Programming?
[+182] [114] tbreffni
[2008-08-07 13:08:44]
[ fonts development-environment ]
[ https://stackoverflow.com/questions/4689/recommended-fonts-for-programming ]

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

(1) Most answers to this question are "+1 for Consolas". If you had specified "only one answer per font" in your question, we could have used voting instead, the way the site was supposed to work. Just saying. - bzlm
Consolas is awesome. Unless you're connecting via RDP with Windows XP, in which case ClearType does not work so it looks way nasty... - devlord
alord1689, good news for you. Install XP SP3, then [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Termina‌​l Server\WinStations] "AllowFontAntiAlias"=dword:00000001 [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Termina‌​l Server\WinStations\RDP-Tcp] "AllowFontAntiAlias"=dword:00000001 :) - Alan
[+196] [2008-08-07 13:28:17] deadprogrammer [ACCEPTED]

Either Consolas (download) [1] or Andale Mono (download) [2]. I mostly use Andale Mono. I wrote an article about programming fonts a long time ago [3], 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.

[1] http://www.microsoft.com/downloads/details.aspx?familyid=22e69ae4-7e40-4807-8a86-b3d36fab68d3&displaylang=en
[2] http://prdownloads.sourceforge.net/corefonts/andale32.exe?download
[3] http://www.deadprogrammer.com/the-programmers-font

(21) 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. - Tom Kidd
(6) Is it only me that thinks cleartype makes everything look slight out of focus? (ye sI do have an LCD!) - Martin Beckett
(1) Consolas makes me feel sick... proFont and Andale are waaaay batter. - rshimoda
(3) 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/… - TravisO
(1) @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. - PhiLho
Yeah I don't like ClearType either, but is definitely required for certain fonts, at least at the smaller sizes (8 or 9 pt). - John B
(1) IMHO, double underscore "__" is good addition to test of suitability - mhd
(10) To be fair, everything is horrible without ClearType - Mehrdad Afshari
1
[+84] [2008-08-13 16:05:59] icco

I've really fallen in love with Droid Sans Mono [1].

alt text

[1] http://damieng.com/blog/2007/11/14/droid-sans-mono-great-coding-font

(12) I must say this font looks nice, but the O and 0 are too similar for me to adopt this. - mbillard
(8) Looks very nice but it should be mentioned that it doesn't have bold or italic, which many people like to have for syntax highlighting. - TM.
I like italics for comments. In XCode you can specify that the comments have their own font and style, though, so not really a problem there. - Nosredna
I didn't even feel to find better font with "Menlo", however, this is first font made me feel to change my Xcode font setting. - eonil
2
[+66] [2008-08-09 04:49:02] mbillard

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

enter image description here

[1] http://dejavu.sourceforge.net/wiki/index.php/Main_Page

(1) I like the DejaVu fonts a lot better than the Consolas; I'm not sure why so many people like Consolas so much, actually. - Trevoke
(1) 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. - Tikhon Jelvis
Excellent font. Bye, bye Courier New - Theodore Zographos
3
[+61] [2008-09-08 19:56:47] Dave Verwer

+1 for Monaco

alt text http://img.skitch.com/20080908-nmjji28uerreqpprs1h86gxna9.png [1]

Just beautiful and I find I can read it for hours on end.

[1] http://img.skitch.com/20080908-nmjji28uerreqpprs1h86gxna9.png

I heavily concur. I tried Inconsolata and others, but the letters are so squished together that it's hard to read. Shame. - Zarkonnen
Monaco looks really sweet on a Mac. I use them at size 13 and it is perfect. - wenbert
Monaco was the reason I got a Mac. Simply amazing! - Penang
That's the best one on Mac because of its antialiasing adapted to mac screens... Too bad it doesn't exists in italic and bold for Xcode! sticking with consolas because of this. I wished consolas rendering was better. - Vincent Guerci
4
[+51] [2008-08-07 13:12:46] Shawn

I use Consolas for everything, including Notepad++, SQL Studio, Eclipse, etc. I wish there was a Mac version. Also, if you notice, the text area field on Stack Overflow uses Consolas, so we have some other fans out there as well :p


The same link Jeff provided will download Consolas on OS X, and it works fine for me at home. - JosephStyons
There's also Inconsolata which is a mac compatible copy. You'll need to google for it as the original creator's site is down, but it's out there! - defmeta
I tried Inconsolata on the Mac, but it didn't seem as good to me so I ended up moving Consolas to the Mac. - Nosredna
5
[+41] [2008-08-07 19:26:21] Jon Galloway

I like Envy Code R [1].

alt text alt text

[1] http://damieng.com/blog/2008/05/26/envy-code-r-preview-7-coding-font-released

I especially like the italics! - AlexCuse
It is also very readable on a dark background (even at 13pt) like Tomas Restrepo's DesertNights Visual Studio theme at winterdom.com/weblog/CategoryView,category,VSColorScheme.asp‌​x - CAD bloke
(7) For me, the font is too high - not necessarily the height of the characters, but the space between the lines. (I want more lines of code on the screen!) - Ola Eldøy
Great font. I use this on any non-ClearType machine. - icelava
thanks for the tip. this font is very good for coding, even more with GDI++ - Victor Rodrigues
Experiment with the font size. It seems to make a bigger difference to how it renders than with most fonts. Try 1 bigger or smaller. - CAD bloke
6
[+28] [2008-08-07 13:40:17] Dan

+1 for Monaco, although this blog post [1] is making me think about switching to Inconsolata [2].

I'm curious as to what point size y'all use, I use the TextMate [3] default size of 12pt.

[1] http://thinkingdigitally.com/archive/ditching-monaco/
[2] http://www.levien.com/type/myfonts/inconsolata.html
[3] http://macromates.com/

Monaco 9pt has been my default since starting with BEEdit on OS9 (or 8?) - Lasar
(1) I'm getting older and screen resolutions are getting higher -- 9 pt is getting smaller and smaller. I've had to bump up to 10 pt or higher. - Barry Brown
I can't stand fonts that put a serif to the left of the bottom of the lowercase 'l'. such as inconsolata In what universe does an 'l' have that? It isn't similar to handwriting, printer's fonts, or a proportional font. It is too simliar to a '1'. At least Consolas and Monaco get it right. - Patrick Szalapski
7
[+28] [2008-09-11 08:18:36] Pascal Immerzeel

I use Bitstream Vera Sans Mono [1], but you need to activate ClearType to get it readable .

I like the 'Illegal1 = O0' readablility test, mentioned earlier in this thread, thanks for that.

[1] http://www.bitstream.com/font_rendering/products/dev_fonts/vera.html

Long time BVSM user as well. Wow, good to get that off my chest! - Jared Updike
I have just changed from being a loyal fan of this one as it doesn't contain macrons - en.wikipedia.org/wiki/Macron . I now use Consolas. - Wayne Koorts
(3) Apparently, DejaVu is an updated version of Bitstream Vera, with lots of characters that Bitstream Vera is missing. Perhaps you should look at DejaVu Sans Mono? - Paul Biggar
8
[+24] [2008-10-19 02:32:22] RazMaTaz

Anarch, 32 points, ofcourse. Code with style!

anarch http://img525.imageshack.us/img525/1584/ss42po1.jpg [1]

[1] http://img525.imageshack.us/img525/1584/ss42po1.jpg

(21) this has got to be a joke - hasen
hasen, haven't read Tamil before have ya? :-D - icelava
I prefer this: home.student.uu.se/j/jowi4905/fonts/annatar.html (the italic version) - Brendan Long
(1) I guess this is how a designer thinks programmers should work... - Camilo Martin
(6) It seemed Arabic, to me. - apaderno
Where’d I put my Braille font…? - Synetech
9
[+23] [2008-08-07 13:14:06] GateKiller

For UltraEdit and anything for that matter, I use the good old Courier New.

alt text http://www.identifont.com/samples/microsoft/CourierNew.gif [1]

I've found Consolas to difficult to read with it's over anti-aliasing.

[1] http://www.identifont.com/samples/microsoft/CourierNew.gif

(1) Yeah, Courier New is great! ... for mixing up 1l, 0O and such... ;-) I don't Consolas either, but I definitively adopted Andale Mono since Microsoft started to distribute it on their Web site... - PhiLho
Makes sense to use a font like courier New that is specifically designed for easy readability - Alex Baranosky
I like Courier New because it's easy to read, has italic and bold and is monospaced. - user142019
10
[+21] [2008-08-16 10:07:36] Grzegorz Gierlik

I use Lucida Console [1] for years and never find anything better.

However I tried a few times Consolas fonts [2] and simply -- I prefer Lucida Console.

[1] http://en.wikipedia.org/wiki/Lucida_Sans
[2] http://en.wikipedia.org/wiki/Consolas

The problem with Lucida Console is that bold is wider than normal. I like to use bold in my syntax highlighting, but not if it makes my line grow and shrink as I use it! - Patrick Szalapski
11
[+20] [2008-09-08 19:35:37] nybergh

I like Terminus [1] for some command line stuff, at least scrolling log files and irssi/irc ( TTF versions available [2]). Screenshot of the terminus.ttf in action below (PuTTY on Windows XP with ClearType enabled).

Screenshot of the terminus.ttf in action below (PuTTY on Windows XP with ClearType enabled). http://misc.nybergh.net/pub/fonts/terminus/2008-09-08_terminus_ttf_in_gnu_nano_putty_windows_xp_cleartype_screenshot.png [3]

[1] http://www.is-vn.bg/hamster/
[2] http://misc.nybergh.net/pub/fonts/terminus/
[3] http://misc.nybergh.net/pub/fonts/terminus/2008-09-08_terminus_ttf_in_gnu_nano_putty_windows_xp_cleartype_screenshot.png

I use it in my text editors in Linux as well as the console. - Frew Schmidt
+1, also my favourite :) - Łukasz Gruner
I also really like Nano! - Pindatjuh
12
[+18] [2008-08-07 14:22:34] mauriciopastrana

I use Consolas on my mac, BTW; here's a link to download the consolas TTF files [1] if you want to install this (Mac/Win/Linux).

/mp

[1] http://pastrana.co.uk/consolas/

(3) The link appears to be broken. - Scottie T
13
[+15] [2008-08-07 13:12:58] Lasse V. Karlsen

I don't use Consolas, though it does look good on LCD, but sometimes I'm not on LCD, like when I'm giving presentations and then it looks crap.

My current font of choice for programming is the Liberation Mono [1] font.

Oh man, just discovered why the text on Stack Overflow looks like crap, it forces Consolas which is a cleartype font, and on my current setup which didn't have cleartype enabled, it looks very bad.

Going to make a bugreport on uservoice.

[1] http://www.press.redhat.com/2007/05/09/liberation-fonts/

I never noticed... because I just haven't Consolas on this computer... :-) - PhiLho
I use Liberation Mono in both Vim and Visual Studio. - Sarah Vessels
I use the Liberation fonts for most of my screen and print output. Also removes any problem with font licensing between machines. - mas
14
[+15] [2008-08-13 15:17:24] rjzii

I have been using the Dina - http://www.donationcoder.com/Software/Jibz/Dina/index.html - font for awhile now for text editing and it seems to be doing the job nicely.


(2) I tried alot of programmer fonts before settling on this one too. If you are a cross platform developer, you can find a Linux (X Windows) version of the font in the forum on that page. donationcoder.com/Forums/bb/index.php?topic=7857.0 - Arnold Spence
(1) One more thing, take your favorite programming font and check the alignment on two lines with the same text but different sections in bold and italic. Alot of fonts don't get this right. - Arnold Spence
I like Dina as well, although there are others I don't mind. I'm not as picky as some of the other posters. - Charlie Salts
I use this font extensively in my editors, and even my command window and putty sessions. I find it the most comfortable font for coding. - RuntimeException
15
[+14] [2008-08-14 17:10:59] Carl Russmann

ProFont [1]. Am I the only one still using it?

[1] http://www.tobias-jung.de/seekingprofont/

I use it for pretty much everything that a monospace font is useful for - I love it! - Dan
ProFont is the best out there. Consolas is soooo overrated. - rshimoda
I use it and love it... Profont is usually one of the first things I install on my dev machines. - Jim OHalloran
I love ProFont as well. Got VS and Notepad++ using it. I usually grab it on the second day of using a new box when I start to get annoyed with Consolas. - Brandon
16
[+12] [2008-08-07 14:01:32] Zack Peterson

I like Fixedsys [1] in Visual Studio. It's a classic. No anti-aliasing blur.

Fixedsys Typeface

[1] http://en.wikipedia.org/wiki/Fixedsys

well, it is for Win, but what about linux? - avp
I ported FixedSys to a TTF, and others continued my work fixedsys.moviecorner.de/?p=download&l=1 - TravisO
17
[+12] [2008-09-18 17:02:27] Matias Nino

I'm amazed nobody has mentioned Pragmata [1]. 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 [2]

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

[1] http://www.fsd.it/fonts/pragma.htm
[2] http://www.fsd.it/fonts/imm/pr_abc.gif
[3] http://www.indiegogo.com/PragmataPro-the-ideal-programming-typeface-becomes-open-source

It's a pretty hard sell for someone to spend ~ $125-150 on a programming font. - Brad Wilson
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. - Matias Nino
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? - wishi
(16) Bulk purchases? Like buying all the characters at once? - Nosredna
Important to note that that €90 price is for up to "5 computers of one company" - this is quite standard for font licencing. - e100
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/… . - Cetin Sert
18
[+12] [2008-10-22 14:11:23] rudigrobler

A excellent CodeProject article that list 33 fonts for programming (With examples of each)

http://www.codeproject.com/KB/work/FontSurvey.aspx


19
[+10] [2008-08-07 13:32:14] Christian Lescuyer

I use Inconsolata [1] with UltraEdit on Windows. With TextMate (on the Mac) I prefer Monaco (it's the default font).

[1] http://www.levien.com/type/myfonts/inconsolata.html

20
[+9] [2008-08-07 19:20:34] Jarin Udom

Inconsolata 14pt in TextMate


That's what I use, and it looks great (although it seems to look much better on dark backgrounds, rather than light ones). - mipadi
21
[+9] [2008-09-18 00:27:31] Josh

I like Profont [1], I first came across it when Jeff blogged about programming fonts [2]

[1] http://www.tobias-jung.de/seekingprofont/
[2] http://www.codinghorror.com/blog/archives/000157.html

22
[+8] [2008-08-13 15:08:41] John with waffle

I like Consolas too, but I also like Anonymous: http://www.ms-studio.com/FontSales/anonymous.html


Anonymous is great... I always keep coming back to it. Especially good for machines without ClearType. - yoyoyoyosef
(1) There's a new and improved version, Anonymous Pro, with bold, italic and international Unicode characters: ms-studio.com/FontSales/anonymouspro.html. Open licence. - e100
23
[+7] [2008-08-07 13:14:34] Jonathan Works

Adding a vote for Consolas. It feels very easy on my eyes.


24
[+7] [2008-08-07 13:15:48] MattSayar

I never found a reason to stray from Courier New. I don't think I'd have a problem with any font so long as it's sans-serif. Mono-spaced fonts are nice for coding, too.


(2) Courier New is a serif font... - Richard Ev
True, but when I say sans-serif, I mean something that's NOT like Times New Roman (with its annoyingly curvy serifs). - MattSayar
(5) I think that mono-spaced is a requirement for coding. - Svante
I once switched over my editor to a serif font, thinking "Hey, this is what I use in everything else, so...". Yeah, that got annoying pretty quickly, especially if you look at code that's supposed to be aligned and it isn't... - Xiong Chiamiov
25
[+7] [2008-08-31 21:48:57] Martin C. Martin

I use a proportional font too. They seem good for the same reasons they work in books and magazines: the more variation between characters, the easier it is for the brain to distinguish them; and you can fit more on the screen. Indentation still works fine: 6 leading spaces is still twice as wide as 3 leading spaces.

I use a version of Georgia that I hacked to make the lower case "l" look less like the digit "1", and put a slash through the zero.


26
[+6] [2008-08-14 02:36:18] Jon Limjap

I think the anti-aliasing blur on Consolas is caused by monitors which do not have ClearType enabled. Consolas was designed for ClearType.

[Jeff A: indeed, you can see screenshots of this in a post I wrote on this topic [1].]

[1] http://www.codinghorror.com/blog/archives/000356.html

if (consolas with cleartype on == GREAT) { echo 'GREAT'; } >>> GREAT - markus
27
[+6] [2008-08-23 20:34:59] Sam Hasler

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

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

Personally I like Triskweline [6]:

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

[1] http://keithdevens.com/wiki/ProgrammerFonts
[2] http://www.lowing.org/fonts/
[3] http://web.archive.org/web/20080317195427rn_1/lowing.org/fonts/
[4] http://typographica.org/000744.php
[5] http://www.ultraedit.com/forums/viewtopic.php?f=3&t=246
[6] http://www.netalive.org/tinkering/triskweline/
[7] http://www.netalive.org/tinkering/triskweline/shot.gif

The lowing.org link doesn't work for me - actually found it in 2 different places this morning, neither of which worked. - cori
28
[+6] [2008-09-15 18:06:22] ewindes

Instead of just chiming in with another vote for a particular font, I'd recommend reading these comparisons of programming fonts where you can learn a little more:

Jeff Atwood's excellent "round-up":
http://www.codinghorror.com/blog/archives/000157.html

Another review of 5 fonts with nice screenshots:
http://blog.hamstu.com/2008/02/03/the-typography-of-code/


29
[+5] [2008-08-22 19:26:55] Jeremy

DejaVu [1] 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

[1] https://dejavu-fonts.github.io/

30
[+4] [2008-08-13 15:05:22] pauldoo

Verdana [1] - Variable width and easy to read on screen at small sizes.

[1] http://en.wikipedia.org/wiki/Verdana

i like that you're ok with variable width too :) - Joshua K
31
[+4] [2008-08-25 21:29:44] dlamblin

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 [1]

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

[1] http://www.k8zt.com/ham_fonts/monaco.jpg
[2] http://www.gringod.com/wp-upload/misc/MONACO.TTF

It's installed as a default font on OS X Leopard (10.5). Or is this a different font? - different
ProFont was derived from Monaco 9pt and is practically the same. - a paid nerd
32
[+3] [2008-08-07 13:15:42] Michael Stum

+1 for Consolas, together with a proper Color Scheme [1] (I use the white one at the first screenshot)

[1] http://www.codinghorror.com/blog/archives/000682.html

33
[+3] [2008-08-07 17:33:20] Jason Pratt

I never found a reason to stray from Courier New. I don't think I'd have a problem with any font so long as it's sans-serif. Mono-spaced fonts are nice for coding, too.

Courier New has serifs.


34
[+3] [2008-08-09 05:11:00] Akira

Lucida Sans Typewriter


35
[+3] [2008-08-13 15:27:19] Kevin Griffin

Another vote for Consolas. My favorite IDE font at the moment.


36
[+3] [2008-11-05 01:11:07] user34411

Raize Font [1]

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.

[1] http://www.raize.com/DevTools/FreeTools.asp

37
[+3] [2009-06-01 04:46:06] ayaz

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

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

[1] http://www.fabernitor.net/ayaz/monaco11pt.png

38
[+3] [2009-08-20 02:53:41] mk12

Consolas [1]. 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

[2]
Recommended for high readability.

[1] http://www.wezm.net/2009/03/install-consolas-mac-osx/
[2] http://img40.imageshack.us/img40/8008/picture1iqv.png

39
[+2] [2008-08-19 14:03:17] Marcus Downing

I'm going to make some enemies with this, but I actually use -- gasp -- a non-monospace font! I occasionally switch back to a monospace to disambiguate something, but mostly find that a good clean sans-serif font is easiest to read and doesn't waste screen estate.

An IDE with good syntax colouring helps.


40
[+2] [2008-08-31 10:47:37] wvdschel

I second Consolas, Inconsolata, DejaVu Sans Mono, and Droid Sans Mono, with my preference going towards the Droid one.


41
[+2] [2008-09-02 22:17:31] Penz

Neep Alt 13/17 is very good.


+1 for Neep by James M. Knoble. I prefer the 12 point size. - flight
42
[+2] [2008-09-23 16:54:27] Odilon Redo

My favourite is ProggyClean [1] at 11px. I've been using it for 2-3 years and it's great for getting lots on screen without being painful to read. It deserves even more attention than the couple of mentions it's had so far:

Proggy Clean http://www.proggyfonts.com/download/example_proggy_clean.gif [2]

The site has many variations [3] including slashed zeroes, bold for function marks etc:

Proggy Square http://www.proggyfonts.com/download/example_proggy_square_bp.gif [4]

(As an aside, my most-loved favourite text editor, TextPad [5], allows you to have different fonts and font sizes for different file types, which is a really great feature.)

[1] http://www.proggyfonts.com/download/download_bridge.php?get=ProggyClean.ttf.zip
[2] http://www.proggyfonts.com/download/example_proggy_clean.gif
[3] http://www.proggyfonts.com/index.php?menu=download
[4] http://www.proggyfonts.com/download/example_proggy_square_bp.gif
[5] http://www.textpad.com/

43
[+2] [2008-09-28 14:54:25] bzlm

Until I found ProggyTiny [1], I always made my own fonts using Softy [2]. It's surprisingly easy, and might increase your productivity if you're annoyed by some features of your current font (like "Q is too similiar to 0").

[1] http://www.proggyfonts.com/
[2] http://users.breathe.com/l-emmett/

44
[+2] [2008-11-09 19:05:31] user32141

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

alt text


Awesome font, i have used it for ages. - Gary Willoughby
45
[+2] [2009-02-03 12:45:54] Krzysztof Krasoń

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 :)


+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. - kyku
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 :) - Krzysztof Krasoń
46
[+2] [2009-05-22 06:57:02] Alconja

I use MonteCarlo [1], 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 [2] quick brown fox example http://bok.net.nyud.net/MonteCarlo/images/screenshot-small.gif [3]

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.

[1] http://bok.net/MonteCarlo/
[2] http://bok.net.nyud.net/MonteCarlo/images/java-example.png
[3] http://bok.net.nyud.net/MonteCarlo/images/screenshot-small.gif

(1) 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. - Vineet Reynolds
47
[+1] [2008-08-07 15:43:02] Justin Yost

I have to agree with Kevin Kenny, Proggy fonts all the way, though I prefer Proggy Clean. But either way you have to go with a font that clearly shows the difference between the number 0 and the letter O. Which the preview font here doesn't really show that.


48
[+1] [2008-08-07 17:50:09] levifig

I'm on PanicSans [1] 12pt w/ AA on TextMate [2], but loving Inconsolata [3] on Terminal/vim... (debating changing my TM font to this one... but point size 14pt) :)

[1] http://vnoel.wordpress.com/2007/04/25/coda-coding-font-panic-sans/
[2] http://macromates.com/
[3] http://www.levien.com/type/myfonts/inconsolata.html

49
[+1] [2008-08-07 19:15:35] beno

Consolas for me as well


50
[+1] [2008-08-09 05:33:15] Michael Neale

I just tried Consolas and Envy - Envy seems "too narrow" to my eyes, but Consolas looks great (I am on a mac). Thanks for the tips !


51
[+1] [2008-08-09 07:53:27] paul

Courier New for me as well, it's well spaced.


52
[+1] [2008-08-09 18:43:59] Gerald Bortis

Another vote for Consolas for code editing, and Dina [1] for console output.

[1] http://www.donationcoder.com/Software/Jibz/Dina/index.html

53
[+1] [2008-08-13 15:11:02] izb

Lucida Console every time.

I've never found a font that can pack as many lines of code onto the screen at the same point size without looking cramped.

And it looks nice too.


54
[+1] [2008-08-13 16:03:24] Nate Smith

I just recently switched from Bitstream Vera Sans Mono to Inconsolata, but reading the answers here, I'm going to give Consolas a chance for a bit. Looks really nice so far.


55
[+1] [2008-08-14 04:22:59] Blorgbeard

I love consolas, especially with italics for comments. The little italic curlicues are so cute :P


56
[+1] [2008-08-22 18:03:10] Konrad Rudolph

@modesty:

I wish there was a Mac version.

You can install the font on a Mac. I use it all the time, everywhere, without any problem. The only thing to pay attention for is to set nomacatsui when working with GVIM, or better yet, switch to MacVim [1].

[1] http://code.google.com/p/macvim/

57
[+1] [2008-08-31 10:44:35] qwertyuu

Another vote up for Dina [1]. As long as you use it at its optimum size (9 pt), it looks great.

alt text

[1] http://www.donationcoder.com/Software/Jibz/Dina/

You must have a much lower res monitor than me, or considerably better eyes :) - Lawrence Dol
58
[+1] [2008-09-02 06:34:34] Vlado Klimovský

For quite some time I've been using ProFont [1], mainly because it allows a lot of lines fit into a given height (a lot more than say Consolas or others). Consolas is not bad either, though...

[1] http://www.tobias-jung.de/seekingprofont/

59
[+1] [2008-09-10 11:00:23] Chris James

I never considered changing my font, I have always been happy with Courier. This thread has truely opened my eyes, if only I could upvote it!

Went with Droid Sans Mono.


60
[+1] [2008-09-17 03:07:34] jussij

I like Consolas myself, but when it comes to monospaced fonts there are quite a few other options [1] to choose from:

[1] http://www.zeusedit.com/forum/viewtopic.php?t=301

61
[+1] [2008-09-18 20:14:46] John Ferguson

Don't forget the colours!

For some reason Delphi 7 in Twilight does not render Droid Sans Mono well, but in Visual Studio with an orange on black theme it is excellent. Deja Vu Sans Mono is the best all rounder. I use it almost everywhere. Consolas would be excellent apart from its ugly Q glyph.

One other thing I have found since I entered the world of work is that even though I have great eyesight I like to keep my code font around 12 or 13pt size both to reduce eye strain and to make sure I can't put too much text on screen. It's sort of an incentive to keep code blocks vertically short.

I note that this edit box does not respect my browser's default monospaced font. It's giving me Monaco (I'm on OSX). Monaco is horrible. It's glyphs have poorly angled elements and it's capitals are not well proportioned.

Oh, and it almost doesn't matter on Windows because your font will not look right anyway. /me dons flame retardent suit


62
[+1] [2008-10-14 19:39:18] Lance Roberts
Tahoma is very readable. If you need it larger then use Verdana.
63
[+1] [2008-10-19 02:52:02] Annagram

ProFont is a great font for code, Consolas a 2nd runner up. You could always go retro with a little Terminal font for a little nostalgia (customize the background color to black and foreground font to green for the full effect!).


64
[+1] [2008-10-20 06:56:21] Andreas Scherer

In bash and vim I use Lucida Typewriter, but in Kate, Scintilla, Eclipse, and Netbeans I (currently) use Lucida Casual, i.e., a proportional font. Ten years ago I started using proportional fonts in Visual Studio (MS Comic Sans) and it works very well for me. Colored syntax highlighting in said IDEs provides excellent readability and for text-heavy languages like HTML and LaTeX a proportional font is a natural choice.


65
[+1] [2009-01-29 03:46:35] buzzan

I like consolas too.


66
[+1] [2009-03-26 21:06:46] Andrei

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


67
[+1] [2009-05-07 19:44:55] Finglas

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


68
[+1] [2009-05-22 07:09:27] Rook

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


69
[0] [2008-08-23 06:10:58] drylight

I'd also have to add another vote for Android's "Droid Sans Mono". It's a very crisp, clear coding font.


70
[0] [2008-08-23 21:09:43] Ross

I experimented with Myriad until I realised using a variable-width font was a fools game.

Courier New here, although I am going to try out Envy after seeing it here.


71
[0] [2008-08-27 08:00:46] Brian Paden

Consolas for Visual Studio. It is the first thing I change when getting a new install setup. The second is inverting the main colors, white text on black background is much easier to stare at for hours in my opinion.

Black text on white background http://college-code.com/stackoverflow/black_on_white.PNG [1]

Versus

White text on black background http://college-code.com/stackoverflow/white_on_black.PNG [2]

The second one tends to make my eyes bleed less after long coding sessions. Could be my code however.

[1] http://college-code.com/stackoverflow/black_on_white.PNG
[2] http://college-code.com/stackoverflow/white_on_black.PNG

surely you'd want to lighten those blues as well? With the white background, both text colours stand out equally. On the black, the white stands out significantly more than the blue. - SpoonMeiser
My eyes are bleeding in 2 seconds flat just from looking at your black background example... plus they are already staging a coup to execute my brain for treason for forcing them to look at it longer than needed to adblock the image. <grin> - Lawrence Dol
72
[0] [2008-08-27 13:06:25] Drakiula

Consolas all the way.


73
[0] [2008-08-29 00:10:07] joel.neely

Lucida Console or Lucida Sans Typewriter, as small as possible so I can maximize the amount of code on the screen. Occasionally Courier or Monaco (e.g. Monaco in TextMate).


74
[0] [2008-08-29 02:03:07] garethm

I'm a happy user of ProFont [1] originally available on the Mac, now available for everyone.

[1] http://www.tobias-jung.de/seekingprofont/

75
[0] [2008-09-01 14:17:51] Zub

If you're like me and only swear by serifs try Kourier with a K, a somewhat more compact Courier .


76
[0] [2008-09-01 15:23:55] spoulson

It must be noted that the text editor/IDE that you use determines how good a font will look. I love UltraEdit, but the only font it renders properly is Courier New. It blurs out about all other useful monospace fonts. However, Visual Studio does a great job rendering any font accurately.

Currently, I will vote Consolas. Though, I will try some of the others listed in the responses. Thank you. Btw, please post links to download!


Rather than "the text editor/IDE that you use determines how good a font will look", it's my experience that UltraEdit is the only text editor which renders fonts incorrectly. I use it too sometimes, but it's the only editor I've seen doing this. - bzlm
@bzlm, So even after viewing Consolas in UltraEdit and Visual Studio, you think it looks BETTER in UE? I'm not sure what you mean by UE rendering correctly, when Consolas looks nice anywhere else I use it. Examples? - spoulson
77
[0] [2008-09-01 16:28:18] Dave

I'm digging the DejaVu Sans Mono (it's supposed to be the same as Panic Sans) on my Mac.


78
[0] [2008-09-01 16:46:44] Jonathan Webb

+1 Verdana -- agree with pauldoo

A variable width font for coding is probably not to everyone's taste but I really like Verdana's legibility with ClearType.


79
[0] [2008-09-01 19:25:06] Ron Skufca

I have been using Proggy Clean TT with Visual Studio for a couple of years now. I like the ability to choose a zero slashed font so when management decides to program instead of manage they don't confuse 0101 with 0101(zeros).

http://www.proggyfonts.com/


80
[0] [2008-09-03 19:44:19] Craig

Consolas unless I'm runing over a slow RDP connection with font smoothing turned off, then Lucida Console.


81
[0] [2008-09-08 00:49:51] pete blair

Its already been said a few times but http://www.proggyfonts.com/ is just awesome. Im a big fan of the Proggy Clean Slashed Zero Bold Punctuation. I do most my work in c# so the bold punctuation is very nice for it.


82
[0] [2008-09-08 19:23:04] davidsandey

I like ProFont TT >tweaked< [1] It's clean and there is a clear difference between 1, l and I and 0 and O.It works best at 9pt. It doesn't scale up very well.

ProFont Windows 9pt

[1] http://www.tobias-jung.de/seekingprofont/

83
[0] [2008-09-10 09:45:10] Rik

Verdana.
Easy to read, and, very imporetant, easy to distinguish similar characters like O and 0, ( and {, 1 and I and l etc.


84
[0] [2008-09-11 08:31:54] Marcin Gil

Consolas for me. These were specially developped for LCD + MS hint engine. Also you might find ClearType tuner [1] (MS PowerToy) a great addition as it gives you more control over how your fonts look.

[1] http://www.microsoft.com/typography/cleartype/tuner/step1.aspx

85
[0] [2008-09-15 17:56:14] youssef

For VS nothing beat Fixedsys.


86
[0] [2008-09-15 18:15:11] Antti Rasinen

I prefer Profont.


87
[0] [2008-09-16 14:25:23] Piers Cawley

I actually bought The Sans Mono Condensed, which is (was) the goto code font in O'Reilly titles. It's by the same guy as did Consolas for Microsoft (but Consolas wasn't available when I bought it).

It's a really nice, tight, clear face - works really well on slides if you're doing that sort of thing as well.


88
[0] [2008-09-18 15:47:56] Markus Amalthea Magnuson

I'd never heard of Droid Sans Mono before, but I installed it and tried it at 9 points, and I must say it's by far the highest quality mono font I've seen on Linux.

On my Mac it's Panic Sans all the way, using it at 11 or 12 points allow anti-aliasing that actually works on monospace, which I've never seen before.


89
[0] [2008-09-20 03:26:13] nobody

Monaco 10pt for me.


90
[0] [2008-09-20 13:55:56] davenpcj

I've been hanging on to this link for more than a year, it's an article entitled "Five great programming fonts". The five are good fonts, but the article includes comments with a dozen more interesting answers.

http://forums.programming-designs.com/viewtopic.php?pid=3338


91
[0] [2008-09-23 16:59:37] Lucas Gabriel Sánchez

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 :)


92
[0] [2008-09-23 17:03:49] lsdr

I use Inconsolata in both Linux and Mac OS X.


93
[0] [2008-09-23 17:14:58] ConcernedOfTunbridgeWells

6x13. [1] You can get two terminal or editor windows across a 1024x768 and three onto a 1600x1200 screen. A windows version of this font can be found Here [2].

[1] http://en.wikipedia.org/wiki/Fixed_(typeface)
[2] http://www.hassings.dk/lars/fonts.html

94
[0] [2008-09-25 21:36:05] Jeremy Bade

I prefer Consolas as well, and obviously cleartype helps when using other fonts.


95
[0] [2008-10-07 16:44:13] Patrick Szalapski

Lucida Console isn't so good because the bold text takes up more room than the non-bold text. Consolas overcomes this.


96
[0] [2008-10-19 02:54:24] None

monaco 12pt, is there any other way?


97
[0] [2008-10-20 07:08:42] asleep

I use Bitstream Vera http://www.gnome.org/fonts/ for Visual Studio 2008 paired with the Darkness Theme because my eyes can't deal with white backgrounds.


98
[0] [2008-10-22 14:19:26] J Francis

Verdana - Once I realised that I didn't HAVE to use a mono-spaced font ;-)


99
[0] [2008-10-22 15:31:22] Ahmed Atia

Consolas I use it everywhere, I use it for everything. Advice: stick to it.


100
[0] [2008-10-22 15:32:10] projecktzero

I've been using Anonymous, but I'll need to check out some of these other fonts.


101
[0] [2008-10-27 23:07:36] dgw

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.)


102
[0] [2008-11-03 09:48:04] niXar

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

[1] http://dejavu.sourceforge.net/wiki/index.php/Main_Page

103
[0] [2008-11-03 10:13:21] mkoeller

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.


104
[0] [2008-11-04 12:04:15] utku_karatas
105
[0] [2008-11-09 18:51:14] community_owned

bitstream vera sans mono


106
[0] [2008-12-17 16:01:06] singpolyma

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


107
[0] [2009-06-24 23:45:04] natas

arial is best


108
[0] [2009-08-20 03:08:19] deceze

I use ForMateKonaVe [1], 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

[1] http://hetima.com/textmate/index.html

109
[0] [2009-08-20 03:13:39] Rz Mk

Fixedsys Excelsior 2.00, Raize, and the usuals.

http://kaishaku.org/codefonts/


110
[0] [2009-11-25 11:01:50] someguy

try Lucida Grande.. Amazing!!


111
[0] [2009-12-04 07:22:38] tae

-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.


112
[0] [2010-01-03 00:40:56] slebetman

I swear by DejaVu Sans Mono


113
[-2] [2009-04-23 13:24:55] al.

Any sans-serif.


114