9

Possible Duplicate:
Recommended Fonts for Programming?

Courier New is perfect (for me) for programming.

Except that it really needs a slashed 0 (zero) and distinct 1 (one) vs l (letter l).

Is there a recompile of the font with these features?

(edit: this question is about Courier New :)

(edit 2: Stack Overflow failed me here, I specifically asked about Courier New, I don't care about other programming fonts. Perhaps I needed to really make that clear in the question.)

Community
  • 1
  • 1
soupagain
  • 1,123
  • 5
  • 16
  • 32
  • 1
    This question covers the same ground: http://stackoverflow.com/questions/4689/recommended-fonts-for-programming – Greg Hewgill Feb 16 '10 at 22:36
  • re: edit 2 - that isn't how stack overflow works. you ask your question then everyone tells you what is wrong with it. for answers you have to use a different resource. ;-) –  Sep 28 '12 at 01:26
  • The answer to your question is no. If someone compiles Courier New with a slashed zero, then it would need to be named something else. The [Courier family](https://en.wikipedia.org/wiki/Courier_(typeface)#Variants) has many fonts, perhaps one of them (like Courier Code) will suit your needs. – Adam Howell Jan 20 '16 at 21:22
  • Indeed Courier New (bold) reads best on Win. I've tried many things to edit fonts with free tools, unfortunately it seems that it is, hmm, impossible, or crashes things. IDK, probably has something to do with the word "proprietary" and invisible forces. OTOH, I never had any significant problems with 0O, but probably a bit with l1. Also I use proportional font where possible. – Mikhail V Mar 25 '17 at 00:06

2 Answers2

5

I usually use Consolas, which is similar to Courier New but makes these distinctions.
It also makes much better use of ClearType.

It's included with Vista and with Office 2007, and with the free PowerPoint Viewer 2007.

SLaks
  • 868,454
  • 176
  • 1,908
  • 1,964
  • 2
    +1 for Consolas. To my dismay though it looks like garbage over remote desktop... – Restore the Data Dumps Feb 16 '10 at 22:18
  • 3
    @Jason — Consolas was designed for sub-pixel rendering. If you change your RDC color settings to 32-bit, enable the "Font smoothing" feature, and are connecting to a box with ClearType enabled, it *should* look the same as anywhere else. – Ben Blank Feb 16 '10 at 22:38
1

When I got tired of Courier New I started to use Triskweline, and now I love it; despite being a bitmap font, it's quite nice, and it offers easily recognizable characters, especially for the most "problematic" ones (1/I/l, O/0, ...).

Moreover, it doesn't look like garbage as Consolas if ClearType is not available/disabled.

By the way, here are some other "alternative" programming fonts:

Matteo Italia
  • 123,740
  • 17
  • 206
  • 299
  • +1 for Dina. Is my favorite. – Samuel Neff Feb 16 '10 at 23:02
  • Also a fan of Triskweline, made a version of it with edits for better code readability - https://github.com/ideasman42/triskweline-code-font – ideasman42 Sep 08 '17 at 14:43
  • Woa, a blast from the past! So much time has passed, currently my go-to monospace font is *DejaVu Sans Mono*, less original but easier on eyes and scales fine on current high-resolution monitors. Still, nice to see Triskweline still alive. :-) – Matteo Italia Sep 08 '17 at 14:50