Slant is a collaboratively edited resource that helps you quickly make decisions.

What are the best programming fonts?

Source Code Pro

    Contributors:

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)

Github (Downloads and install instructions)

Announcement blog post (Screenshot)

Wikipedia

On the downside though, a lack of italics for this font means that your text editor will attempt to slant the font to ugly results.

    Consolas

      Contributors:

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

      Inconsolata-g

        Contributors:

      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.

        Monaco

          Contributors:

        Monaco rocks!

          Ubuntu Mono

            Contributors:

          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

            Anonymous Pro

              Contributors:

            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

              Envy Code R

                Contributors:

              This font offers well 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 than 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

                DejaVu Sans Mono

                  Contributors:

                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)

                Read Additional Sections
                • Special Symbols

                Pragmata Pro

                  Contributors:

                  Menlo

                    Contributors:

                  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.

                    Droid Sans Mono

                      Contributors:

                      Andale Mono

                        Contributors:

                      Was offered by Microsoft as their core Web fonts, and freely redistributable, MS no longer offer it on their site, but other places make them available.

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

                      This fixed-width font is nicely designed, and took care of distinguishing some easily confused characters like 0O or 1lI.

                        Terminus

                          Contributors:

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

                        Download

                          Liberation Mono

                            Contributors:

                          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.

                          Although similar to the popular Deja Vu monospace font, Liberation Mono takes up much less vertical space, allowing more lines code on the screen at once.

                          A notable quote from a commenter:

                          This font is absolutely fantastic. It doesn't have as much personality as, say, Inconsolata or Consolas, but what it lacks in personality it makes up for in readability. It is also very similar as the font Cousine, available on Google Fonts, but supports a wider set of characters. My favorite features of this font are the dotted zero, perfect symbols, flush underscore, and overall transparent design. I've been using it for more than a year and highly recommend it to any programmer.

                          Deja Vu 12pt: http://imageshack.us/a/img543/9845/dejavu12.png

                          Liberation Mono 13pt: http://imageshack.us/a/img43/691/liberation13.png

                          Download Link: https://fedorahosted.org/liberation-fonts/

                          Wikipedia: http://en.wikipedia.org/wiki/Liberation_fonts

                          enter image description here enter image description here

                            Monofur

                              Contributors:

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

                            Download

                              Proggy Clean

                                Contributors:

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

                              Download

                                Lucida Console

                                  Contributors:

                                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

                                  Linux Libertine Mono

                                    Contributors:

                                    Meslo LG

                                      Contributors:

                                    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

                                      PT Mono

                                        Contributors:

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

                                      Download

                                        Dina

                                          Contributors:

                                        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/

                                          GohuFont

                                            Contributors:

                                          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

                                            Segoe UI Mono

                                              Contributors:

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

                                              M+ 1m

                                                Contributors:

                                                Nanum Gothic Coding

                                                  Contributors:

                                                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 this mysterious site 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.

                                                  TheSans Mono

                                                    Contributors:

                                                  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.

                                                    ProFont

                                                      Contributors:

                                                    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/

                                                      Cruft

                                                        Contributors:

                                                      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

                                                        Print Char 21

                                                          Contributors:

                                                        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.

                                                          Menlo

                                                            Contributors:

                                                          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.