Skip to content

Instantly share code, notes, and snippets.

@flaviut
Last active August 29, 2015 14:09
Show Gist options
  • Save flaviut/06f00714d5ec471e299a to your computer and use it in GitHub Desktop.
Save flaviut/06f00714d5ec471e299a to your computer and use it in GitHub Desktop.

High Quality Monospace Fonts & Configuration (2013) [Arch Linux] Now with pretty pictures!

Use either freetype2-git from the AUR or heftig’s repository which includes Infinality’s ClearType subpixel hinter. A far superior TrueType font hinter compared with the default implementation. See this bug report for more details.

In the following list I have tried to remain objective by comparing only the visual artifacts as described in The Raster Tragedy. These include excessive colour fringing, non-uniform stroke widths and oversampling (blurriness caused by unconstrained anti-alising).

I am also not going to include “bitmap” fonts as the only comparison would concern personal taste.

Configuration File

The configuration file used can be found in my dotfiles repository hosted by github.

Definitions

The Good
They’re good. They hint well. Potatoes!
<dt>The Poor</dt>
<dd>
    Some of these fonts are either insufficiently hinted or contain quirks
    which make them poor choices for programming.  Examples include lettering
    with ambiguous meaning such as ‘1’ compared to ‘l’ or ‘0’ to ‘O’.  These
    fonts should be used at the user’s discretion.
</dd>

<dt>The Bad</dt>
<dd>
    Poorly hinted fonts which ascribe many of the problems discussed in the
    introduction.  Fonts which should be avoided or used with the autohinter.
</dd>

<dt>The Ugly</dt>
<dd>
    These fonts fail to render correctly at all.  (This is probably my fault
    more than the font’s.)
</dd>

The Good

Sans-Serif

  • Audimat Mono
  • Bitstream Vera Sans Mono
  • BPmono
  • Consolas
  • Cousine
  • Dejavu Sans Mono
  • Droid Sans Mono
  • Envy Code R
  • Fira Mono
  • Inconsolata (From Google Webfonts)
  • Liberation Mono
  • Lekton
  • Lucida Console
  • Meslo LG
  • Skyhook Mono
  • Source Code Pro
  • Ubuntu Mono

Serif

  • CentSchbook Mono BT
  • CMU Typewriter Text
  • Latin Modern Mono
  • TeX Gyre Cursor
  • UM Typewriter
  • Verily Serif Mono

Mixed-Serif

  • Anonymous Pro
  • Courier New
  • NanumGothicCoding
  • PT Mono

The Poor

Sans Serif

  • Andale Mono
  • Inconsolata
  • M+ 1m
  • M+ 1mn
  • Monofur
  • Monospace Typewriter
  • saxMono
  • Telegrama Render
  • Telegrama Raw

Serif

  • Linux Libertine Mono O

The Bad

Sans

  • Anka/Coder
  • Monaco
  • Oxygen Mono

The Ugly

Serif

  • Luxi Mono

Untested

Sans Serif

  • Aurulent
  • Codename CoderFree 4F
  • Hermit
  • Menlo
  • Monoxil
  • Panic Sans (Bitstream Vera Sans Mono clone)
  • Segoe UI Mono
  • TheSansMono

Mixed Serif

  • Anonymous
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment