Live data from Hacker News

Hack: A typeface designed for source code

sourcefoundry.org

91–100 of 249 posts

Re: Hack: A typeface designed for source code

#91
post #74
post #13

I desperately want to find a new code font to love but I always return to Consolas.

Have you tried Source Code Pro ( http://adobe-fonts.github.io/source-code-pro/ )? It's my go-to now when it comes to monospace fonts. I keep it installed on all my systems, right along side my dotfiles.

Mine too, especially for the light version for non-retina OSX!

Re: Hack: A typeface designed for source code

#94
post #22

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

Here's the same with Source Code Pro: http://screenshotcomparison.com/comparison/140474 I'm liking the asterisk and kerning in general. It's taller, so it feels a little more cramped between lines. That might be a dealbreaker for some.

I think you've made a mistake. The a glyph in your demo doesn't look like the glyph in the Github repository...

Re: Hack: A typeface designed for source code

#97

I use Hasklig, even though on a different language. I love having ligatures for common symbols. I should pick up fontforge again and adapt it to PHP https://github.com/i-tu/Hasklig/

The use of ligatures in Hasklig is very intriguing. Would really like to see more work in this vein. Could see benefits to Clojure (arrows) and even => in JavaScript. EDIT: Looks like FiraCode has ligatures too https://github.com/tonsky/FiraCode

Oh my yes, this is very nice indeed. Probably the first real advancement I've seen in programming fonts in decades.

Re: Hack: A typeface designed for source code

#98
post #84

I've never thought about fonts in coding environments before; you guys must be very experienced if you're thinking of stuff like that. This is what my editor(Kate) looks like, is this a good font or a bad font? http://i.imgur.com/QtP1csu.jpg

Your font is fine. Use whatever you like. Main thing I look for is fonts that differentiate between things like 0Oo and lI1. I prefer open source fonts too. Just don't use a non-monospaced font.

In my day we wrote Pascal in 9-point Geneva and we liked it! ;)

Re: Hack: A typeface designed for source code

#99
post #51

Hack is DejaVu sans mono. Below is a gif I took switching between DejaVu sans mono and Hack. Aside from line height I fail to see the difference. http://gfycat.com/SomberUnitedGermanshepherd

There are some very minor changes, but this got me thinking about tricky fonts are compared to software development in general. You can fork a font on GitHub and make some changes, but you can't really merge them back into the original font because fonts are expected to be entirely static. Perhaps they could accept pull requests for a DejaVu 2 or something.

Re: Hack: A typeface designed for source code

#100
post #41
post #30

Earlier quoted context omitted.

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.

I've used "Untyped" and "Trim" from this collection[0], and they were plenty readable. They take care of ambiguous characters and provide a wider space character than general-purpose proportional fonts.

[0] https://code.google.com/p/i3project/wiki/Fonts

Post reply on HN