Live data from Hacker News

Hack: A typeface designed for source code

sourcefoundry.org

41–50 of 249 posts

Re: Hack: A typeface designed for source code

#41
post #30

Why does source code have to be shown in fixed width? I've been using non-fixed width fonts for about a year now and I find it much nicer on the eyes. The only downside I've found is that sometimes things don't line up quite as nicely, which is purely cosmetic.

It does not have to be. Go ahead and use nice proportional fonts and never looks back. There are certainly no shortage of them that are high quality and easy on the eyes. But for the rest of us, having a fixed width font is as important as any other consideration. And we're always on the lookout for a fixed width font that's as pleasing and readable as you proportional font people enjoy. Don't be jealous of us gettin…

On the other hand, I don't think I've ever seen a proportional font designed specifically for programming in. Like, with the same "make sure 1/l and 0/O look different" considerations programmers' fonts get, but proportional.

Re: Hack: A typeface designed for source code

#44

Comparison with Fira Mono at 12px: http://screenshotcomparison.com/comparison/140470 I'll stick with Fira.

On my Mac, Hack has increased leading (space between lines) which makes it more readable. Quite a bit more IMO. I'm curious why your screen shots show identical leading.

Re: Hack: A typeface designed for source code

#45

Why does source code have to be shown in fixed width? I've been using non-fixed width fonts for about a year now and I find it much nicer on the eyes. The only downside I've found is that sometimes things don't line up quite as nicely, which is purely cosmetic.

Proportional fonts do not work well with space-based alignment, but are fine with tabs.

Re: Hack: A typeface designed for source code

#46

Why does source code have to be shown in fixed width? I've been using non-fixed width fonts for about a year now and I find it much nicer on the eyes. The only downside I've found is that sometimes things don't line up quite as nicely, which is purely cosmetic.

My solution to the things not lining up nicely was to give up column alignment completely. In fact, I did that long before I started coding in proportional fonts. I think it was giving up column alignment that opened my eyes to the possibility of using proportional fonts at all. If you don't use column alignment, code looks pretty much the same in a proportional or monospaced font.

BTW my favorite coding font right now is Trebuchet MS on a high-DPI display.

Re: Hack: A typeface designed for source code

#47
post #36

Why does source code have to be shown in fixed width? I've been using non-fixed width fonts for about a year now and I find it much nicer on the eyes. The only downside I've found is that sometimes things don't line up quite as nicely, which is purely cosmetic.

Most people consider that anything but cosmetic.

Well the indented parts will always line up correctly (since all they have before them are spaces or tabs), the only problem is if you use spaces for alignment after you've already typed some text.

Re: Hack: A typeface designed for source code

#48
I've been using Anonymous Pro[0] for as long as I've known about it. I think I think Anonymous slightly more than Hack. On a different note, while this might sound like a silly gripe, I really don't like the "r"s in Hack. They seem off.

[0] http://www.marksimonson.com/fonts/view/anonymous-pro

Re: Hack: A typeface designed for source code

#50

Why does source code have to be shown in fixed width? I've been using non-fixed width fonts for about a year now and I find it much nicer on the eyes. The only downside I've found is that sometimes things don't line up quite as nicely, which is purely cosmetic.

Couple replies, but nobody stated the (to me) obvious. My source code is displayed in the same font as everything else in my terminal, and using a variable width font for terminals yields some pretty insane results.
Post reply on HN