News for hackers. Stuff that matters.
Re:Top Programming Fonts by b3b0p on Sunday January 17, 2010 @06:01PM (#1059085)
I love DejaVu Sans Mono:

http://dejavu-fonts.org/wiki/index.php?title=Main_Page

Which is a variant of Bitstream Vera Sans Mono:

http://www.gnome.org/fonts/

However, right now, my new favorite font is Menlo that came with Snow Leopard. It's another variant of Bitstream Vera and it seems to work much better at smaller font sizes. Which is great for limited screen sizes (such as 1280x800 on a smaller laptop).

Re:Top Programming Fonts by rbanffy on Sunday January 17, 2010 @06:05PM (#1059090)
Menlo looks nice. There is a comparison between both at http://8.media.tumblr.com/tumblr_kozenpQvKP1qzus90o1_500.png
Re:Top Programming Fonts by dazmax on Monday January 18, 2010 @03:31PM (#1060749)
Wow, I hadn't noticed Menlo, thanks. I've been using Bitstream Vera Sans Mono for a while but I don't like how faint the hyphen is with anti-aliasing when I'm coding in haml – a problem that Menlo fixes.
Re:Top Programming Fonts by telemachos on Sunday January 17, 2010 @04:35PM (#1058967)
If you love Incolsolata, but hate the curl of the quotes (single and double), see here: http://nodnod.net/2009/feb/12/adding-straight-single-and-dou...

(It's posted in the comments to that article, but it may not jump out at people.)

Re:Top Programming Fonts by yurifury on Sunday January 17, 2010 @07:05PM (#1059156)
I am a fan of Terminus. Very readable, crisp and works on both Linux and Win32 machines.

http://www.is-vn.bg/hamster/

Re:Top Programming Fonts by dmarble on Sunday January 17, 2010 @11:47PM (#1059452)
I have to add my love for Liberation Mono. https://fedorahosted.org/liberation-fonts/ Releases: https://fedorahosted.org/releases/l/i/liberation-fonts/

I recently had one of those "time to tweak my environment" days where I spent the entire day trying out monospaced fonts (DejaVu Sans Mono, Bitstream Vera Sans Mono, Envy, Terminus... everything I could find) in various color schemes in multiple editors (Win). I've now pretty much set any program where I need a monospace font to Liberation Mono 10pt.

However, I think Consolas looks better if I'm trying to fit more onto the screen. It looks better at smaller sizes than Liberation.

So I've settled on using 2 editors most the time with pretty similar features (Notepad++ & Programmer's Notepad), one loaded with Liberation Mono, the other with Consolas for files where I'd like to squeeze more lines in and keep decent readability.

Maybe there's a better way of doing things, but I like having two sorta different workspaces that I can quickly open.

Re:Top Programming Fonts by TrevorBurnham on Sunday January 17, 2010 @08:38PM (#1059242)
The article says of Consolas: "Too bad it’s not free … if it was, it would be #1 on this list."

Consolas actually can be downloaded for free, legally. If you're on Windows, you can download an installer for the font directly from Microsoft at:

http://www.microsoft.com/downloads/details.aspx?familyid=22e...

If you're on a Mac, slightly more effort is required. Instructions can be found at:

http://www.wezm.net/2009/03/install-consolas-mac-osx/

Though, actually, you don't have to use the Terminal. You can just right-click the XML File Format Converter installer, "Show Package Contents," and navigate to the font installer package.

Re:Top Programming Fonts by sp332 on Sunday January 17, 2010 @09:09PM (#1059281)
This isn't true. You can download the file, but the copyright license only extends to licensed users of specific versions of Visual Studio.
Re:Top Programming Fonts by TrevorBurnham on Sunday January 17, 2010 @10:50PM (#1059404)
Fair enough. You can, alternatively, download and install the trial version of Microsoft Office 2007.

http://us20.trymicrosoftoffice.com/default.aspx

Re:Top Programming Fonts by ehsanul on Sunday January 17, 2010 @09:22PM (#1059300)
I didn't even notice my terminal font until it being pointed out. So am I the only one perfectly happy with just Monospace?
Re:Top Programming Fonts by graywh on Sunday January 17, 2010 @10:44PM (#1059397)
Ubuntu? In that case, "Monospace" isn't really a font, but Bitstream Vera Sans Mono or DejaVu Sans Mono.
Re:Top Programming Fonts by ehsanul on Monday January 18, 2010 @12:07AM (#1059467)
Ahh, thanks for pointing that out. I am indeed on Ubuntu. And I'm obviously entirely clueless about fonts; ignorance is bliss. :)
Re:Top Programming Fonts by there on Sunday January 17, 2010 @09:35PM (#1059316)
i still use the default xterm "fixed" font.
Re:Top Programming Fonts by ComputerGuru on Sunday January 17, 2010 @05:14PM (#1059033)
Consolas has pretty much overtaken all the rest in most of the reviews these days. It's a great font (esp. on OS X)!
Re:Top Programming Fonts by davepeck on Sunday January 17, 2010 @07:13PM (#1059166)
I tend to prefer Consolas to Inconsolata. Consolas' glyphs feel like they have more uniform thickness throughout.
Re:Top Programming Fonts by jballanc on Sunday January 17, 2010 @08:50PM (#1059256)
For me, requirements for a good programming font are:

- Easy to distinguish 1, l, and |

- Zero with a slash

- Lowercase g open on bottom (two circles is too cluttered)

Surprisingly, with those simple rules the only font on the list that gets all 3 is Monaco. (My personal choice, Menlo, also gets all 3.)

Re:Top Programming Fonts by huhtenberg on Monday January 18, 2010 @01:02AM (#1059515)
> - Zero with a slash

Debatable. Zero is typically narrower than uppercase O, so it is trivial to distinguish them even without the slash that merely adds to the visual noise.

Re:Top Programming Fonts by jballanc on Monday January 18, 2010 @11:24AM (#1060119)
Sure, but that assumes that you have a 0 and an O sitting right next to each other to compare. That said, the reason I don't like dotted-0 is because I feel it's too noisy. I think a slash is the right balance...but that's me ;-)
Re:Top Programming Fonts by cdplayer on Monday January 18, 2010 @02:56AM (#1059605)
Re:Top Programming Fonts by vito on Monday January 18, 2010 @04:07AM (#1059643)
Agreed. All of the characters are perfectly balanced and fine-tuned. For example, #, /, and <> all look wonderful in code. Monaco messes that up, especially with /.

Takes a little bit to get used to using a serif monospace font though.

Re:Top Programming Fonts by huhtenberg on Monday January 18, 2010 @01:04AM (#1059517)
Oh my... 22 comments and no mention of Dina. What is happening to HN lately ? :-)

http://www.donationcoder.com/Software/Jibz/Dina

Re:Top Programming Fonts by jrockway on Monday January 18, 2010 @03:51AM (#1059633)
Maybe people are tired about arguing over which font is best every other day?
Re:Top Programming Fonts by mtarnovan on Monday January 18, 2010 @03:54AM (#1059635)
Re:Top Programming Fonts by rbanffy on Sunday January 17, 2010 @06:07PM (#1059092)
I have been using Envy Code R. From time to time, I change my font. I guess I need some variety.

I have a pet project of reproducing the IBM 3270 terminal font. I love those 6's and 9's.

Re:Top Programming Fonts by psadauskas on Sunday January 17, 2010 @07:17PM (#1059168)
I used to switch fonts between different ones all the time. About a year ago, I found Envy Code R. I haven't switched since. Easy to read, easy to tell the difference between zero and O, paren and curly brace, etc...

http://damieng.com/blog/2008/05/26/envy-code-r-preview-7-cod...

Re:Top Programming Fonts by warfangle on Monday January 18, 2010 @05:12AM (#1059675)
Thanks for this. I really like Inconsolata, but this is absolutely great. Best monospaced font I've seen.
Re:Top Programming Fonts by zargon on Monday January 18, 2010 @02:09PM (#1060587)
I like MonteCarlo: http://bok.net/MonteCarlo/
Re:Top Programming Fonts by mechanical_fish on Sunday January 17, 2010 @07:06PM (#1059158)
I finally got around to spending a couple of hours configuring emacs 23 for the Mac. If I had fully realized that it supported native fonts now, and that Inconsolata would make me this happy, I'd have upgraded months ago.
Re:Top Programming Fonts by merraksh on Sunday January 17, 2010 @06:31PM (#1059120)
I have used Schumacher Clean for ages, and find it awesome. Not sure it's available on Mac/Win, but it's very readable and clean (...). I mostly write LaTeX and C/C++ in Emacs on dark grey background.
Re:Top Programming Fonts by chronomex on Sunday January 17, 2010 @10:14PM (#1059367)
I love that font and don't ever see it in any of these font reviews. My emacs is a very dark brown background and a light grey base face.
Re:Top Programming Fonts by andrewcooke on Monday January 18, 2010 @06:49AM (#1059755)
i agree, but did you notice that monaco 9 point without anti-aliasing in this article looks very similar? which seems like good news to me, because if schumacher disappears then there's something to fall back to...
Re:Top Programming Fonts by merraksh on Wednesday January 20, 2010 @12:48PM (#1065261)
True, monaco9 looks a lot like clean12. However, I use a 13point version for coding. It's a little taller and for that reason, in my opinion, clearer. If schumacher disappears, I should look for monaco 10pts, as I can't find it on my linux box...
Re:Top Programming Fonts by gnosis on Monday January 18, 2010 @03:24PM (#1060733)
Re:Top Programming Fonts by teeja on Monday January 18, 2010 @07:56PM (#1061211)
I like Lucida Grande for code with lotsa text. I didn't know about Consolas, which looks great for code.
Re:Top Programming Fonts by z8000 on Sunday January 17, 2010 @10:11PM (#1059363)
Pragmata is very nice, but I tend to stick with 6x13.