Live data from Hacker News

Hack: A typeface designed for source code

sourcefoundry.org

141–150 of 249 posts

Re: Hack: A typeface designed for source code

#141
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.

I use source code pro lite on everything that requires monospaced fonts now. I use source sans pro a lot in documents / email.

Re: Hack: A typeface designed for source code

#142
post #125
post #79

I've been using Proggy Tiny for literally over a decade, I wonder if there's any font that can beat it for me. Does anyone know of an easy way to compare two typefaces and see how they look when rendering source code?

As mentioned earlier in the thread: http://s9w.github.io/font_compare/

Thanks, I've seen that before, but it doesn't list Proggy Tiny, and just shows the characters in the font in a line and not how they'd appear in source code. It's hard to discern things like line height, compare the fonts at equivalent sizes, or see how they'd actually look in source code.

It also has anti-aliasing enabled on fonts that support it, which I personally hate. Proggy Tiny is designed to be pixel perfect at small sizes. MonteCarlo looked similar to Proggy Tiny, but when I typed MonteCarlo's example[1] into my editor and compared to Proggy Tiny[2] I really disliked it. That shows why you really need to see it with real source code in an editor at the same size.

Thanks for the link though, it's a good resource to see some of what's available!

[1] http://www.bok.net/MonteCarlo/java-example.html

[2] http://imgur.com/no8txTq

Edit: totally didn't notice it has a compare mode, and that you can change sizes and turn anti-aliasing off. This thing is sweet!

Re: Hack: A typeface designed for source code

#143
post #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.

It doesn't work for Helvetica or Arial, but less-famous typefaces can change pretty significantly over time:

http://www.fastcodesign.com/3033126/roboto-rebooted-why-goog...

Re: Hack: A typeface designed for source code

#144
No one has yet mentioned the ultimate hacker font -- Glass Tty VT220:

http://christfollower.me/misc/glasstty/

Then there's UW ttyp0 for those who still prefer their fonts bit-mapped:

http://people.mpi-inf.mpg.de/~uwe/misc/uw-ttyp0/

And UniVGA, an emulation of the VGA font that provides much of Unicode (useful for a little Turbo Pascal nostalgia trip with an appropriate color theme, or the FPC IDE):

http://www.inp.nsk.su/~bolkhov/files/fonts/univga/

Re: Hack: A typeface designed for source code

#145
post #73

I'm slightly surprised that almost nobody here uses Menlo or Monaco, even though several screenshots in the thread are clearly made on OS X. I'm curious why that's the case. Do people generally dislike the system-provided fonts or are the alternatives considered "better"?

Monaco 10 is the only true code font :) That is, until I get myself a retina Mac, of course.

Then I'll use an undecided vector font and the last remaining piece of resistance from classic Mac will be gone.

Re: Hack: A typeface designed for source code

#146
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.

I've been using Source Code Pro Light for quite a while. It's great.

Re: Hack: A typeface designed for source code

#147
Just a bit of feedback (bias: I'm used to Monaco for Powerline)

The lowercase 'a' is much better than Monaco.

The tilde and lowercase 't' seem harder to see than Monaco.

People see characters differently, so some things which make it harder to see for some are easier for others.

Make one want a website which generates a custom font based on each person choosing the most visible variant of each glyph.

Hack: http://screencast.com/t/nnGD3Wm1M7Z5

Monaco: http://screencast.com/t/65hJcI43XT7

Re: Hack: A typeface designed for source code

#148
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

They do acknowledge the source of the font: "Hack has deep roots in the libre, open source typeface community and includes the contributions of the Bitstream Vera & DejaVu projects." It's a bit disingenuous though. I'd call Hack a straight copy of Deja Vu Sans Mono, with a few very minor tweaks. On Linux using the TTF fonts I can't even see a difference in line height: http://i.imgur.com/wxTr0at.png http://i.imgur.co…

"," too

Re: Hack: A typeface designed for source code

#149

Earlier quoted context omitted.

Compared to Fira or compared to Hack rendered on my system? Are you using Atom/WebKit too? Same font size?

Hack has greater leading compared to Fira. I notice it when viewing in either Xcode, TextMate or Android Studio.

Whoa, really? Fira already has a much larger line-height than nearly any other mono font I've used.

Re: Hack: A typeface designed for source code

#150
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.

Here's another vote for Source Code Pro. It's an amazingly attractive font. I'm glad I discovered it.
Post reply on HN