Skip to content

Liberation Mono; still the best Free font for programming

It’s official, Liberation Mono is still the best Free font for programming.

I’ve been using Liberation Mono in my text editors since it was first announced having tried various other fonts with varying states of Freeness.

Then along came the Droid fonts and I thought I’d try them too. I have two criteria for programming fonts, 1) Pretty (I like Droids g) 2) slashes through 0’s (so that I can tell 0’s from O’s more easily when reading code).

Droid meets a and fails at b but I decided to try it anyway (for the curious Liberation is slightly less pretty but has brilliant 0’s).

Droid Sans Mono vs Liberation Mono

At the top we have Droid Sans Mono and at the bottom Liberation Mono, both showing the same snippet of code at font size 10.

As you can see, at this font size the exclamation mark (!) is pretty horrid. It could be an l (L) or a | (pipe). This ambiguity makes reading code harder. Sure in most cases you can infer which character it is but having to do that is just ridiculous.

Back to Liberation Mono it is. Good try Droid, but not good enough!

5 Comments

  1. Neil Roberts wrote:

    I’ve been using Liberation Mono in Emacs too after copying you. It’s a massive improvement over the font I was using before but it really annoys me that the capital F is broken. The middle line doesn’t line up with the middle of an E or an R. Hopefully now that I’ve pointed it out it will annoy you too :)

    Wednesday, April 8, 2009 at 12:28 | Permalink
  2. Joshua wrote:

    Hmm, doesn’t look too annoying here.
    The E and F certainly seem to line up…

    http://www.joshual.me.uk/tmp/efr.png

    Either my attention to detail is not as great as yours OR your distro is shipping an older version of the font.

    Wednesday, April 8, 2009 at 13:17 | Permalink
  3. Hylke wrote:

    Also the “g” in Droid looks too stylish for programming to me. :)

    Wednesday, April 15, 2009 at 13:11 | Permalink
  4. Joshua wrote:

    What are you trying to day about programmers? :-p

    The ‘g’ was the thing that made me try the font out!

    Wednesday, April 15, 2009 at 13:49 | Permalink
  5. Hylke wrote:

    Haha, sorry didn’t mean to insult!
    I meant, if I would code something I wouldn’t want the “g” :P

    But I guess when you look at code all day you would like the pretty “g” :)

    Wednesday, April 15, 2009 at 14:43 | Permalink

Post a Comment

Your email is never published nor shared. Required fields are marked *
*
*