News for hackers. Stuff that matters.
Re:Programming Fonts – Test Drive by me551ah on Monday January 21, 2019 @02:00AM (#18958267)
I'm surprised that the list doesn't mention consolas. It ships default with visual studio and it's so good that I use it on arch Linux as my terminal font and with intellij. It was designed with programming in mind and has some nifty characteristics like a slash through zero. This list also misses out on 'operator mono' which is a well thought out font for programming.
Re:Programming Fonts – Test Drive by klageveen on Monday January 21, 2019 @02:56AM (#18958562)
Hi, I'm the author of programmingfonts.org. Operator Mono certainly is pretty. I always loved consolas on Windows (honestly, it's the only thing that rendered properly on Win7). That said, I can only include fonts that are freely available, or where the owner of the font allows me to (in the case of Input Mono). I have tried for a few others, but haven't been so lucky there. So, no proprietary or otherwise commercial fonts. I do try to feature them on the blog though.
Re:Programming Fonts – Test Drive by Asooka on Monday January 21, 2019 @08:10AM (#18960114)
Can't you have a "system fonts" section that uses the fonts already installed, so people can compare if they are running the respective OS?
Re:Programming Fonts – Test Drive by klageveen on Monday January 21, 2019 @01:35PM (#18962368)
Well, there is no way to get a list of installed fonts via the browser, but I have thought about adding an input so you can try installed fonts. I just don't have enough time to tackle all the ideas I have!
Re:Programming Fonts – Test Drive by beefman on Monday January 21, 2019 @12:22PM (#18961814)
Check out B612 Mono

http://b612-font.com/

Re:Programming Fonts – Test Drive by pavon on Monday January 21, 2019 @01:41PM (#18962422)
Have you looked at the licensing of the Lucida family of fonts (particularly Sans Typewriter and Console)? From a quick check it looks like just the old bitmap fonts are available for redistribution, and all the scalable varieties are proprietary, but I'm also seeing some contradictory information, so I'm not 100% certain on that. If allowed it would be a great addition to the site.
Re:Programming Fonts – Test Drive by klageveen on Monday January 21, 2019 @03:41PM (#18963432)
I have looked at it but have not found a suitable variant. All I find are commercial versions and “The fonts are not redistributable”. Honestly, I doubt bitmap versions are useful for most people.
Re:Programming Fonts – Test Drive by gralx on Monday January 21, 2019 @04:24AM (#18958971)
Thanks very much for this, klageveen! I chose my default mono font the hard way and wish I'd known about your site back then.

Even so, comparing each font on your site affirmed my choice (Hack ftw). I'll be back, though, and will check out your blog in the mean time.

Re:Programming Fonts – Test Drive by lacer on Monday January 21, 2019 @11:04AM (#18961203)
After going throw the list and trying out many of them in my editor, I also picked Hack. What a beautiful font, even in surprisingly small sizes.
Re:Programming Fonts – Test Drive by gralx on Tuesday January 22, 2019 @04:43AM (#18967168)
It really is beautiful. It's a variant of Deja Vu, as I recall, and its hinting is perfect on my display. The feature I really needed, though, was good Unicode coverage, especially for math and logic symbols, and Hack has that spades.
Re:Programming Fonts – Test Drive by mhdhejazi on Thursday January 24, 2019 @05:42AM (#18987513)
It would be great if I can filter those fonts that support ligatures (Like Fira Code).
Re:Programming Fonts – Test Drive by Flat_Lined on Monday February 04, 2019 @01:29PM (#19079103)
Some that have ligatures state it after the year they cameo out. For fonts that don't have ligatures on their own you could use something like Ligaturizer. This adds ligatures based on the Fira Code font to any other font. These ligatures are taken verbatim from Fira Code though, so some will not match perfectly with their non-ligature counterpart.
Re:Programming Fonts – Test Drive by fermienrico on Monday January 21, 2019 @03:21AM (#18958687)
You can always use a static .svg or .png in place.
Re:Programming Fonts – Test Drive by klageveen on Monday January 21, 2019 @03:35AM (#18958744)
That's what I feature on the blog, but you'll notice the right-hand side of app.programmingfonts.org is interactive. That's kinda hard to do with static images ;)
Re:Programming Fonts – Test Drive by javajosh on Monday January 21, 2019 @05:17AM (#18959246)
Would it violate the ToS to create a simple sprite sheet out of a proprietary fixed-width font?
Re:Programming Fonts – Test Drive by m45t3r on Monday January 21, 2019 @05:45AM (#18959381)
I don't think the author needs to go to such lengths just to support some proprietary fonts, specially considering that there are great free and open options.
Re:Programming Fonts – Test Drive by javajosh on Monday January 21, 2019 @06:56AM (#18959728)
Sure, but that's not really an answer to the question!
Re:Programming Fonts – Test Drive by sbarre on Monday January 21, 2019 @07:41AM (#18959956)
You seem quite interested in the answer, so surely you can spend the required time reading the ToS of the various fonts yourself.

Please come back and let us know what you find!

Re:Programming Fonts – Test Drive by klageveen on Monday January 21, 2019 @11:47AM (#18961541)
It probably would. Redistributing the font in another form is usually a violation. It’s also severely impractical ;)
Re:Programming Fonts – Test Drive by ChrisGranger on Monday January 21, 2019 @02:06AM (#18958290)
Consolas is a proprietary font, and this list includes only free and/or open source fonts. It does include the similar Inconsolata.
Re:Programming Fonts – Test Drive by raphlinus on Monday January 21, 2019 @02:18AM (#18958360)
Though Inconsolata was inspired by Consolas, I wouldn't consider it all that similar. For example, the digits in Inconsolata are much closer to the Franklin Gothic model. Also, Consolas has excellent hinting for Windows, while Inconsolata was originally designed with no hinting at all. They're not drop-in replacements.
Re:Programming Fonts – Test Drive by beefsack on Monday January 21, 2019 @03:23AM (#18958699)
For those unaware, raphlinus actually created Inconsolata.
Re:Programming Fonts – Test Drive by bobwaycott on Monday January 21, 2019 @09:00AM (#18960393)
I’m a fan of Inconsolata, and it’s my daily driver in terminals and editor. Thank you.
Re:Programming Fonts – Test Drive by Jaruzel on Monday January 21, 2019 @02:54AM (#18958550)
Seconded, Inconsolata at small sizes looks awful on Windows.

I'm surprised that so many of these 'programming' fonts do not have dotted or slashed zeros. For a programming font, that's a must-have requirement for me. I edited Droid Sans Mono, so that its zero had a slash, and now I use it as my go-to font for all my IDEs and terminals. However after browsing this lot, I'm tempted to give Go Font a try.

Re:Programming Fonts – Test Drive by signal11 on Monday January 21, 2019 @01:57PM (#18962572)
Although Consolas is beautiful on Windows (and is one of my favourite monospace fonts), Inconsolata for me looks very good on Windows 10 (as I remember it didn't quite look as good on Windows 7). In fact, because the font is slightly thicker at lower font sizes, I find it easier to see and use -- so it's currently my default font in PuTTY and VS Code, for instance.

Thank you for your work on Inconsolata.

Re:Programming Fonts – Test Drive by neves on Monday January 21, 2019 @08:55AM (#18960368)
It is a Windows default font. Since you need admin rights to install fonts in Windows, it may be the only good programming font a corporate user have.
Re:Programming Fonts – Test Drive by signal11 on Monday January 21, 2019 @02:14PM (#18962728)
Lucida Console isn't too bad either -- it's very legible at small font sizes. On some of my work and personal systems I also have Lucida Sans Typewriter[1] (IIRC it was bundled with Office), which is taller and subjectively slightly better looking than Lucida Console

[1] https://docs.microsoft.com/en-us/typography/font-list/lucida...

Re:Programming Fonts – Test Drive by ratsimihah on Monday January 21, 2019 @05:54AM (#18959428)
Thanks for mentioning it! I just compared Consolas with the default Menlo along with Hack, and I do like the roundedness in Consolas.
Re:Programming Fonts – Test Drive by int_19h on Monday January 21, 2019 @02:44AM (#18958491)
Consolas ships with Windows itself since Win7.
Re:Programming Fonts – Test Drive by dspillett on Monday January 21, 2019 @10:10AM (#18960842)
That still doesn't make it free & legal to distribute as a web font so that it displays to people who don't run Windows (or otherwise have Consolas installed), so it would be more than legally dubious to include it in this site without express permission from MS (or who-ever they licensed the work from, if it wasn't created internally).
Re:Programming Fonts – Test Drive by pier25 on Monday January 21, 2019 @09:51AM (#18960720)
I agree on Consolas. I'm a Mac user and it has replaced Inconsolata which I used for years.
Re:Programming Fonts – Test Drive by fgandiya on Monday January 21, 2019 @07:40AM (#18959953)
Yeah, I was redesigning my website and decided to use system fonts. When I added the system don't for monospacw text, I was amazed at how nice Consolas came out.
Re:Programming Fonts – Test Drive by peteretep on Monday January 21, 2019 @06:44AM (#18959669)
> Operator Mono SSM

A steal at $199!