What are the best programming fonts?

[edit][18comments]

Why did you vote for Source Code Pro?

An open source programming font released by Adobe, made with the intent of maximizing usability and avoiding common design flaws in monospaced fonts. Available on Google Web Fonts.

(Click the image for a bigger image and here for a massive image)

Pleasant on eyes

[edit][comments]
The more you see its more easy on eyes .Especially for programmers who keep staring @ code for hours and hours ..

Bad for hex numbers

[edit][5comments]
This is actually not a good programming font because capital letters are bigger than integer digits making hex numbers (0x00FF00FF) look bad

[edit][5comments]

Why did you vote for Consolas?

(Click the image for a bigger image and here for a massive image)

Comes with Windows. Download for mac

Consolas is specifically designed to work with ClearType, so may become highly aliased when ClearType is not turned on.

Pretty much every thing i want from a mono font

[edit][1comments]
Because it's like a free version of thesans mono. (though i do like themix mono better, vs2010 doesn't freaking support otf)

No cons added yet

[edit][3comments]

Why did you vote for Monaco?

Monaco rocks!

This font shines for legibility at non-antialiased small sizes, when you really want to maximize your on-screen code.

Fun to read / Easy on the eyes

[edit][comments]
Monaco's rendering is similar to that of Consolas but slightly more playful. Each character seems to be a tiny bit larger when compared to Conso...

No cons added yet

[edit][comments]

Why did you vote for Ubuntu Mono?

From Reddit user chrisdoner:

Particularly advantageous apart from its aesthetic rounded/smooth appeal is that it somehow scales to tiny sizes while retaining legibility and under subpixel rendering.

(Click the image for a bigger version )

Download

Highly readable

[edit][comments]
Line thickness, shape, and spacing help you recognize characters and words correctly the first time through without your eye having to skip back and...

No cons added yet

[edit][2comments]

Why did you vote for Inconsolata-g?

Inconsolata-g is a variant of the popular Inconsolata that fixes the similarity between"1" [one] and the "l" [lower-case ell].

(Click the image for a bigger image and here for a massive image)

And compared to Inconsolata:

You can download it here.

No pros added yet

Renders lines as dashes in TUI interfaces

[edit][comments]
It's a really nice font, so I am disappointed that lines in things like midnight commander, the treeview in htop, tmux panes, the tree command,...

[edit][comments]

Why did you vote for DejaVu Sans Mono?

This nice open source font family is derived from the Bitstream Vera family, itself close to the Microsoft core Web fonts (see Andale Mono).

The Sans Mono version is graphically close of Andale Mono, slightly bolder, with the added bonus of the bold font being of same width than the normal one (unlike Andale Mono). It is a nice property with some syntax highlighting text editors.

(Click the image for a bigger image and here for a massive image)

Deja Vu Sans Mono is part of the Deja Vu family of fonts and is one of the most complete Unicode fonts available. This means you have access to a wide range of special symbols including mathematical symbols like arrows, operators and special alphabets. This is useful for certain languages that require special characters like Agda.

Additionally, some languages allow using these characters optionally. Moreover, there are editor modes that display characters like this without changing the underlying file, much like syntax highlighting: the Emacs modes for OCaml and Haskell are prime examples.

Unicode

[edit][comments]
Unicode font.

No cons added yet

[edit][2comments]

Why did you vote for Anonymous Pro?

Anonymous Pro (2009) is a family of four fixed-width fonts designed especially with coding in mind.

Characters that could be mistaken for one another (O, 0, I, l, 1, etc.) have distinct shapes to make them easier to tell apart in the context of source code.

(Click the image for a bigger image and here for a massive image)

While Anonymous Pro looks great on Macs, Windows and Linux PCs with antialiasing enabled, it also includes embedded bitmaps for specific pixel sizes (“ppems” in font nerd speak) for both the regular and bold weight.

Source

The best rendering character for DIGIT ONE

[edit][comments]

No cons added yet

[edit][comments]

Why did you vote for Envy Code R?

This font offers very distinct programming characters like {} vs. () and the classically confusing 0O and 1lI. Quite narrow (like Anonymous Pro) but squarish, the letters are easy to read and offer a pleasing reading experience.

The bold version has the same width as the normal version which is useful for syntax highlighting.

(Click the image for a bigger image and here for a massive image)

Envy Code R also fits more into a given width when compared to Source Code Pro. You can download it here

No pros added yet

No cons added yet

[edit][comments]

Why did you vote for Menlo?

Menlo is a monospaced sans-serif typeface designed by Jim Lyles. The face first shipped with OS X Snow Leopard. Menlo is based upon the Open Source font Bitstream Vera and the public domain font Deja Vu.

menlo sample enter image description here More details and download.

No pros added yet

No cons added yet

[edit][3comments]

Why did you vote for Droid Sans Mono?

No pros added yet

No cons added yet

[edit][comments]

Why did you vote for Pragmata Pro?

A very narrow, highly legible programming font. Noteworthy for having quite a bit of Unicode implemented, including the APL codepoints.

ideal font for coding no interline spacing Hand hinted

http://www.fsd.it/fonts/pragmatapro.htm#.US2yeBmGYS8

No pros added yet

Can be expensive

[edit][comments]
The most basic version is less than $3 USD but the cost jumps to $20 for bold and can get as high as $225.

[edit][3comments]

Why did you vote for Liberation Mono?

Liberation Mono is styled closer to Liberation Sans than Monotype's Courier New, though its metrics match with Courier New. The Liberation fonts are intended as free, open-source replacements of the aforementioned closed source fonts.

enter image description here

No pros added yet

No cons added yet

[edit][2comments]

Why did you vote for Monofur?

monofur

(Click the image for a bigger image and here for a massive image)

Download

Letterforms are not just stylish, but highly distinct.

[edit][comments]

No cons added yet

[edit][8comments]

Why did you vote for Terminus?

(Click the image for a bigger image and here for a massive image)

Note: The small size of this font makes it hard to compare at 11pt, please leave a comment if you think I should up the size for the screenshots.

Better rendering in code editor: And in the console/terminal:

The images are actually PNG files, although the url says jpg.

Download

Terminus is the closest thing to 6x13 fixed that comes pre-packaged on modern Linux distributions. Remember to turn off aliasing. Bitmap fonts ftw.

No pros added yet

No cons added yet

[edit][comments]

Why did you vote for Meslo LG?

Meslo LG is a customized version of Apple’s Menlo-Regular font. Screenshots are from the M variant.

(Click the image for a bigger image and here for a massive image)

Download

Patched Powerline version exists

[edit][comments]
A patched version with additional glyphs for Vim Powerline is easily downloadable

No cons added yet

[edit][comments]

Why did you vote for Andale Mono?

Was offered by Microsoft as their core Web fonts, and freely redistributable, MS no longer offers it free on their site. However, the original license allowed free redistribution, so other places make them available.

(Click the image for a bigger image and here for a massive image)

This fixed-width font is very nicely designed, and took care of distinguishing some easily confused characters like 0O or 1lI. Unlike Source Code Pro, the boldface font is not too heavy nor is the italic font too spindly.

Excellent legibility.

[edit][comments]
Easy to distinguish 0 from O, a from o, and I from l from 1.

No cons added yet

[edit][comments]

Why did you vote for Proggy Clean?

(Click the image for a bigger image and here for a massive image)

Download

Hipster among hipsters

[edit][comments]
Even hipster will marvel at this font, praising you are the new hipster lord. It is best suited at around 19px (tested on mac). Overall, better reada...

No cons added yet

[edit][5comments]

Why did you vote for M+ 1m?

M+ M emphasize the balance of natural letterform and high legibility. while M+ MN is aimed at a new distinctive design for a terminal font specialized to programming.

The M+ fonts actually [have two][4] different monospace forms in five weights each and both are very nice for programming. One of the major advantages for both is that the light and thin weights do a good job of compensating for OS X's overly-heavy rendering of light text on dark backgrounds.

![M+ 1m][1]

  • [Download from official site][2]
  • [Download at FontSquirrel][3]

    [1]: http://f.cl.ly/items/0h390A0I3w1m0L401B3J/Screen%20Shot%202013-04-30%20at%201.38.01%20PM.png [2]: http://sourceforge.jp/projects/mplus-fonts/downloads/6650/mplus-TESTFLIGHT-056.tar.xz [3]: http://www.fontsquirrel.com/fonts/M-1m [4]: http://mplus-fonts.sourceforge.jp/mplus-outline-fonts/design/index-en.html#mono

High legibility

[edit][comments]

No cons added yet

[edit][comments]

Why did you vote for Dina?

Dina is a monospace bitmap font, primarily aimed at programmers. It is relatively compact to allow a lot of code on screen, while (hopefully) clear enough to remain readable even at high resolutions.

In designing a programming font the following guidelines were followed:

  • Needs to be monospaced
  • It has to be easy to see the difference between i, l, 1, I
  • It has to be easy to see the difference between o, O, 0
  • The symbols used in programming languages have to look 'right'
  • Braces should line up nicely
  • Still has to be pleasant to read passages of text

enter image description here

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

No pros added yet

No cons added yet

[edit][comments]

Why did you vote for Lucida Console?

Mono-Space - Curlies, square brackets, comas, and periods are distinguishable even at 8 pt font, and comes with every windows box.

One of the original monospaced fonts available for X11R6.

(Click the image for a bigger image and here for a massive image)

Download

No pros added yet

No cons added yet

[edit][comments]

Why did you vote for PT Mono?

(Click the image for a bigger image and here for a massive image)

Download

No pros added yet

No cons added yet

[edit][1comments]

Why did you vote for GohuFont?

Gohu Gohufont is a monospace bitmap font well suited for programming and terminal use.

It is intended to be very legible and offers very discernable glyphs for all characters, including signs and symbols. Here is what it looks like

(Click the image for a bigger image and here for a massive image)

download

Unique glyphs

[edit][comments]
Easy to distinguish characters at small sizes.

No cons added yet

[edit][2comments]

Why did you vote for TheSans Mono?

enter image description here

TheSans Monospace has been derived from TheSans, the sans serif part of Luc(as)'s Thesis family. This new variation started as a kind turn to Thomas Merz, probably the most expertised PostScript programmer in the world. In his book "The PostScript and PDF Bible" TheMono is being used for all PostScript code. The idea is simple, give all characters equal widths. However, it turned out to be a very interesting and time consuming job. It took another 9 months to grow to its final state.

The MonoSpace appears to function very well for correspondence. A written letter in ThesisMono immediately has a personal communicative touch, and doesn't look like a detouched "print type".

A considerable amount of time has been invested in achieving an optimal screen display. For often used sizes (9, 10, 11, 12 and 14 point) the bitmaps have been hand-pixeled. (These work on mac only.) Because of extensive hand editing of hint-instructions, TheSans Mono is optimally readable in other sizes as well as on PCs with Adobe Type Manager. A delta hinted TrueType package for the office environment is on its way.

TheSans Mono is used by O'Reilly for printing code in most of its tech publications.

No pros added yet

No cons added yet

[edit][comments]

Why did you vote for Segoe UI Mono?

(Click the image for a bigger image and here for a massive image)

Comes with Windows. Need some magic to make it work with Mac (need to have Office installed, otherwise must use @font-face) - see this StackOverflow for more.

Very readable

[edit][comments]
This is a very readable font.

The zero is not slashed

[edit][comments]
The zero is not slashed, which causes some problems when scanning source code. This is not an issue when the IDE supports colouring (like all major m...

[edit][comments]

Why did you vote for 6x13 fixed?

6x13 fixed 6x13 code

6x13 is the classic fixed monospace bitmap font that is expected to be available on every X server. It is part of the misc-fixed family. These fonts were handcrafted for readability in a terminal.

Why bitmap fonts? At a small text size each character has a limited resolution. A character size of 6x13 pixels means only 78 pixels per character. Modern fonts are designed to be scalable, and are less legible at these small sizes. Using bitmap fonts increases legibility by eliminating scaling and sub-pixel aliasing artifacts. Some scalable fonts include "ppems" embedded bitmaps for this reason.

With a fixed 6x13 font, the number of characters in a terminal is easy to compute. Every character is 6x13 pixels, so a 1440x900 pixel display will render 240x69 characters. 6x13 is semi-condensed, meaning the characters are slightly thinner than usual so that more can be printed on a line.

The disadvantage of misc-fixed fonts is that they don't scale, which can cause problems with displays that vary wildly from traditional pixel density. Although 6x13 is the traditional fixed font, there are numerous other sizes ranging from 5x7 to 10x20.

Fixed typeface article on Wikipedia

How to enable fixed fonts in Ubuntu

Perfect

[edit][comments]
The apex of bitmap fonts. Great proportions for quantity of text onscreen and readability. Nice, defined character set. Aesthetically pleasing for a...

No cons added yet

[edit][1comments]

Why did you vote for Nanum Gothic Coding?

small sample enter image description here

I have no idea how this font appeared on my computer but it is beautiful.

You can get it from Developer Site of Korean Search Engine(Naver) by clicking the link in the right side bar.

Anyone else trying to replicate the style of the images, I pastebined the text here and here. Hopefully there are no typos.

Multilingual

[edit][comments]
Korean, Japanese, English

No cons added yet

[edit][comments]

Why did you vote for Linux Libertine Mono?

Linux Libertine Mono preview Linux Libertine Mono code sample

Linux Libertine Mono available since version 5.3.0: http://www.linuxlibertine.org/index.php?id=1&L=1

No pros added yet

No cons added yet

[edit][comments]

Why did you vote for Latin Modern Mono?

A set of free fonts based on Computer Modern, the default font for TeX. One of the main extensions is the addition of an extensive set of diacritical characters, covering many scripts based on the Latin character set, mainly european.

Latin Modern Mono

Latin Modern Mono Sample

Available as Type 1 PostScript or OpenType, you can get them from the official Ubuntu repositories as lmodern.

There are also small-caps, condensed, and proportional variants.

Download from FontSquirrel

No pros added yet

No cons added yet

[edit][1comments]

Why did you vote for Espresso Mono?

Espresso Mono is included in the Espresso text editor by MacRabbit. The metadata indicates it was designed by the DejaVu fonts team. Characters Code

No pros added yet

No cons added yet

[edit][comments]

Why did you vote for Panic Sans?

Panic, Inc. which makes Coda, distributes what I find to be the best code font around: Panic Sans. It's close to Source Code Pro & Inconsolata having added uniqueness for easily confusing characters like 0 and O, l and 1, but it has better line spacing and italics.

enter image description here

No pros added yet

No cons added yet

[edit][comments]

Why did you vote for  Anka/Coder?

The Anka/Coder family is a monospaced, courier-width (60% of height; em size 2048x1229) font that contains characters from 437, 866, 1251, 1252 and some other code pages and can be used for source code, terminal windows etc. Anka/Coder - PHP code There are 3 font sets (regular. italic, bold, bold-italic each): 1. Anka/Coder (em size 2048x1229) 2. Anka/Coder Condensed (condensed by 12.5%; em size 2048x1075) 3. Anka/Coder Narrow (condensed by 25%; em size 2048x922)

The last, "Anka/Coder Narrow" was developed for printing of source code; it is too tight for screen resolution. The middle, "Anka/Coder Condensed" can be used for both printing and screen viewing of source code, also as for displaying terminal windows. The first, full-width "Anka/Coder" simply supplements the family.

No pros added yet

No cons added yet

[edit][comments]

Why did you vote for ProFont?

ProFont is a small bitmap font which is absolutely great for programming. It was made for Macintosh computers, but now it's also available for Windows and Linux/UNIX X Windows.

screenshot screenshot screenshot

http://www.tobias-jung.de/seekingprofont/

No pros added yet

No cons added yet

[edit][comments]

Why did you vote for Cruft?

Cruft is a variable-width font designed for programming. It was designed to ensure all characters are easily distinguishable and all punctuation is prominent enough to not be overlooked, while still being easier on the eyes than fixed-width fonts.

Sample of Cruft

Download Cruft and sister fonts

No pros added yet

No cons added yet

[edit][comments]

Why did you vote for Print Char 21?

The Ultimate Apple II Font

Download the world's most complete Apple II text font, in TrueType format. Works on Mac OS X, Windows, or any operating system that supports TrueType.

No pros added yet

No cons added yet

[edit][1comments]

Why did you vote for Creep?

Creep is a very small (4x9px) pixel font that's great for smaller sceens. It has a crisp appearance and emphasises on readability as well as beauty.

All similar characters are easily distinguishable.

It has pretty good symbol support for programming languages by providing clean versions of language symbols such as ->. This works especially well for 'mathematical' languages such as Haskell:

Very small

[edit][comments]
This font is nice and small - ideal for small screens.

Really small

[edit][comments]
this font is so small it might be hard to read

[edit][comments]

Why did you vote for Courier New?

No pros added yet

No cons added yet

[edit][comments]

Why did you vote for UW ttyp0?

UW ttyp0 is a family of monospaced bdf (X11 bitmap) fonts.

Features:

  • Clean, easily distinguishable characters; typographically informed.
  • Large x-height for better legibility, narrow letters for better readability.
  • Sizes from 6x11 to 11x22 px.
  • Regular and bold for all sizes, (somewhat experimental) italics for some.
  • About 3000 Unicode characters: Latin, Cyrillic, Greek, Armenian, Georgian, Hebrew, Thai, most of IPA, standard punctuation, common symbols, some mathematics, line graphics, a few dingbats.
  • Configurable: Stylistic variants for many characters can be selected at installation time, e.g., plain, dotted or slashed zero, straight or curly quotes, centered or raised tilde and asterisk, visible or invisible NBSP, etc.
  • Open source.

If the image above is scaled down, click it for an unscaled version.

Click here for a program code sample.

Download Link: http://people.mpi-inf.mpg.de/~uwe/misc/uw-ttyp0/

No pros added yet

No cons added yet

[edit][comments]

Why did you vote for Courier?

"Courier is a monospaced slab serif typeface designed to resemble the output from a strike-on typewriter. The typeface was designed by Howard "Bud" Kettler in 1955, and it was later redrawn by Adrian Frutiger for the IBM Selectric Composer series of electric typewriters."

— Wikipedia (EN)

[Download Courier here.][1] [1]: http://www.myfonts.com/fonts/adobe/courier/

Classic and simple yet effective.

[edit][comments]
You can never go wrong with this one.It also comes preinstalled in almost any (if not just any) operating system on the market so you should not have...

No cons added yet

[edit][comments]

Why did you vote for Raize?

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.

http://www.raize.com/DevTools/Tools/images/RzFont.png

http://www.raize.com/DevTools/Tools/RzFont.asp

No pros added yet

No cons added yet

[edit][4comments]

Why did you vote for VGA Font?

This guy made the original VGA font with Unicode support.

Personally I converted it to TrueType and use it on Visual Studio with the classic blue background like old Turbo Pascal.

My programming environment

VGA Font

No pros added yet

No cons added yet

[edit][comments]

Why did you vote for Fantasque Sans Mono?

A programming font, designed with functionality in mind, and with some wibbly-wobbly handwriting-like fuzziness that makes it unassumingly cool.

Open source

[edit][comments]

No cons added yet

[edit][comments]

Why did you vote for Happy Monkey?

Happy Monkey is a display sans serif typeface family, with thin and rounded strokes. Suitable for informal headlines and all your fun typography!

No pros added yet

No cons added yet

[edit][comments]

Why did you vote for Cosmic Sans Neue Mono?

A programming font, designed with functionality in mind, and with some wibbly-wobbly handwriting-like fuzziness that makes it unassumingly cool.

View on GitHub

No pros added yet

No cons added yet

[edit][comments]

Why did you vote for Triskweline?

Triskweline is a fixed-width font especially suited for text editors and programming environments. It was designed for maximum legibility and tidiness and supports all important symbols and Latin-1 characters.

enter image description here

No pros added yet

No cons added yet

[edit][comments]

Why did you vote for Envy Code B?

Envy Code B

No pros added yet

No cons added yet

[edit][comments]

Why did you vote for FreshBold?

The full screenshot.

FreshBold font has been created especially for assembly programming, where it is very important to have high legibility of the source, combined with maximal possible density of the source lines.

The FreshBold is inspired by FixedSys font, but has even higher density with better readability. FreshBold is very readable and will not cause eye weariness even after many hours of work.

The project page of the font

No pros added yet

No cons added yet

[edit][comments]

Why did you vote for Cousine?

Default programming font on Chrome OS; Liberation Mono derivative

Good distinction made between similar characters

[edit][comments]

No cons added yet

[edit][comments]

Why did you vote for Fira Mono?

No pros added yet

No cons added yet

[edit][comments]

Why did you vote for Sudo?

No pros added yet

No cons added yet

[edit][comments]

Why did you vote for GNU Unifont?

Unifont is a Unicode font with a glyph for every visible Unicode Basic Multilingual Plane code point and more, with supporting utilities to modify the font. The Unicode Basic Multilingual Plane covers the first 65,536 (or 2^16) Unicode code points.

Get it from unifoundry here. The GNU Unifont project homepage also has download links and information.

No pros added yet

No cons added yet

[edit][comments]

Why did you vote for OCR A Extended?

You can clearly tell the difference between those troublesome characters like apostrophes and quotes.

Each character is clearly (there's that word again) different from each other to make machine reading easier and works for humans as well.

No pros added yet

No cons added yet

Are we missing something?

Help make this question more complete.