Live data from Hacker News

Mononoki – A Font for Programming and Code Review

madmalik.github.io

11–20 of 129 posts

Re: Mononoki – A Font for Programming and Code Review

#11
post #6
post #4

Monospace - This is an universal requirement for source code typography. It's not just an historic artifact from the olden days of terminals, but an useful convention to allow two dimensional structuring and highlighting differences on the character level. Well, since there are people that swear by using variable space fonts for programming, it's not necessarily a universal requirement. I agree it is a very useful co…

I'm waiting for the editor with a layout engine that doesn't assume monospace -- the tooling is a bigger problem than anything else for variable-width fonts.

I haven't used it much, but I recently learnt that emacs allows it. There's a minor mode called ‘variable-pitch-mode’.

Re: Mononoki – A Font for Programming and Code Review

#13
post #6
post #4

Monospace - This is an universal requirement for source code typography. It's not just an historic artifact from the olden days of terminals, but an useful convention to allow two dimensional structuring and highlighting differences on the character level. Well, since there are people that swear by using variable space fonts for programming, it's not necessarily a universal requirement. I agree it is a very useful co…

I'm waiting for the editor with a layout engine that doesn't assume monospace -- the tooling is a bigger problem than anything else for variable-width fonts.

Emacs can do it just fine: mx variable-pitch-mode

https://www.dropbox.com/s/f7u7iagunxl4p25/emacs-var-pitch.pn...

Re: Mononoki – A Font for Programming and Code Review

#16
post #9

Does anyone else find most programming fonts to be overly heavyweight? I end up sticking with Courier New because of its light, thin lines, even though it's not a perfect font. Are there any other monospace fonts with light weights?

I've been rather fond of Adobe's Source Code Pro[1][2]. Notably, it comes in weights all the way down to ExtraLight. My typical setup these days uses ExtraLight in iTerm2 on retina displays. Depending on the display (and sometimes the font renderer), I'll play with combinations of weight and size to find the best fit for a given installation.

[1] http://adobe-fonts.github.io/source-code-pro/

[2] https://github.com/adobe-fonts/source-code-pro

Re: Mononoki – A Font for Programming and Code Review

#17
post #9

Does anyone else find most programming fonts to be overly heavyweight? I end up sticking with Courier New because of its light, thin lines, even though it's not a perfect font. Are there any other monospace fonts with light weights?

Source Code Pro and Input Mono both have light and extra light weights.

https://github.com/adobe-fonts/source-code-pro

http://input.fontbureau.com/

Re: Mononoki – A Font for Programming and Code Review

#18
post #6
post #4

Monospace - This is an universal requirement for source code typography. It's not just an historic artifact from the olden days of terminals, but an useful convention to allow two dimensional structuring and highlighting differences on the character level. Well, since there are people that swear by using variable space fonts for programming, it's not necessarily a universal requirement. I agree it is a very useful co…

I'm waiting for the editor with a layout engine that doesn't assume monospace -- the tooling is a bigger problem than anything else for variable-width fonts.

You might like the "elastic tabstops" idea: http://nickgravgaard.com/elastic-tabstops/

Although the editor support for the concept doesn't look great.

Re: Mononoki – A Font for Programming and Code Review

#19
post #6
post #4

Monospace - This is an universal requirement for source code typography. It's not just an historic artifact from the olden days of terminals, but an useful convention to allow two dimensional structuring and highlighting differences on the character level. Well, since there are people that swear by using variable space fonts for programming, it's not necessarily a universal requirement. I agree it is a very useful co…

I'm waiting for the editor with a layout engine that doesn't assume monospace -- the tooling is a bigger problem than anything else for variable-width fonts.

Mostly works in Sublime, which I've been using with Input Sans for a bit over a year. The only thing that breaks is indentation guides, which end up in the wrong place.

I would not want to go back to a monospaced font.

Post reply on HN