The Best Programming Font: M+
macwright.org
macwright.org
Seems there's a bit of a grammar issue here, I've fixed it for you:
"My favourite monospace font for programming is M+."
Unless you're presenting historical facts or figures, If every sentence in an article had the author qualify himself with 'imo', 'that's why I think that', etc... it would be a pain to read, and the argument would be a lot weaker.
When clicking on this, I assumed there would be either; cited facts or a general consensus from a large number of users that this font is "the best". Instead, what this is, is an opinion.
> Retina screens make subtle strokes and thinner weights look better, and M+ does that: its thin is ethereal, almost a stick font.
Opinion.
> It’s much narrower than average, so 80 characters per line can fit in less than half of my screen width - so I can use a vertical split in vim to edit two or more files at a time.
My opinion is that you might as well just use a smaller font size if this is an issue. Narrowing makes things harder to read than proportionately down-sizing - to me.
> It covers Basic Latin, Latin-1 Supplement, Latin Extended-A, Kanji and Kana: beyond that, few monospace fonts will do, though you can always fall back to Arial Unicode.
Don't most other mainstream fonts?
> It’s clear: 0 is slashed to differentiated it from O, and 1 is easy to tell apart from I, and l.
Don't most other mainstream fonts?
Edit: Just to be clear - I don't have a downer on the initiative of creating fonts (especially when they're open source and trying to make life easier for programmers), I'm just shooting the breeze over a bit of grammar. I'm sure lots of people will/do like this font. :)
An article saying "Medicinal drug X is better" (meant as a personal opinion) is not "good writing style". It's downright misleading.
And nobody said he has to do it for "every sentence". A clear "Here's why I think M+ is the best programming font" on the beginning would be enough.
Passive voice. Considered by whom?
So I guess it looks bad on high resolution screens that aren't on apple devices? Why do people even use this term when not referencing magical apple lingo?
Edit: UHD is really ambiguous, it could refer to anything with the initials UHD.
I've tried almost every other "programmer" font but there's always something that rubs me the wrong way. In the case of M+, it just looks thin and silly.
And I have no idea how to install a font. I download the zip and open it and there are 43 (43!) ttf files. I can install them by double clicking the file and selecting Install Font.
But then what? I now have 43 new fonts, but how do I know which one to use in my editor? Can someone explain this for a dummy?
edit: On OS X the directory is `~/Library/Fonts`.
In Emacs, put this in the .emacs file to set up the default font at startup.
(set-face-attribute 'default nil :family "Source Code Pro" :height 110)
In any case, usually when there are various ttf files for a single font, they all belong to a Font and then have variations (Medium, Medium Italic, Condensed, etc) Depending on the software, it maybe presented with 43 different fonts, or one single font, with variations (On mac, if you open Font Book, you get the font name, then you can expand to the variation, don't remember how it works on Windows)
set guifont=Source\ Code\ Pro\ for\ Powerline\ Medium\ 11http://www.markyville.com/aaroads/SpeedLimit-OR.png
http://icethetics.squarespace.com/storage/blog13/1213-pit14s...
PS: Go Pens.
Consolas was designed for ClearType, and for Windows. And I remember liking it very much on Visual Studio. But I'll just leave it be, I'm happy for now as it is.
The last time I looked into using it on my Ubuntu workstation (which was admittedly a couple of years ago), it involved manually extracting the font files from the installer for MS's standalone PowerPoint viewer application, which was both clumsy and probably against the viewer application's license.
But I've gotten so used to the Deja Vu family of fonts being the default monospace font everywhere on Linux that I don't know if I could go back to using it again.
Monofur is also known as "Oh my god that's horrible why are you using that?" by my heathen work colleagues.
mplus-fonts-common.noarch : Mplus, common files (documentation…)
mplus-1c-fonts.noarch : M+ C is optimized to be proportioned and has two variations
mplus-1m-fonts.noarch : M+ M emphasize the balance of natural letterform and high legibility
mplus-1mn-fonts.noarch : M+ M emphasize the balance of natural letterform and high legibility
mplus-1p-fonts.noarch : M+ P is aimed as sophisticated and relaxed design
mplus-2c-fonts.noarch : M+ C is optimized to be proportioned and has two variations
mplus-2m-fonts.noarch : M+ M emphasize the balance of natural letterform and high legibility
mplus-2p-fonts.noarch : M+ P is aimed as sophisticated and relaxed design
Looks like Fedora users have a lot of choice. Which of these is the author talking about? mplus-1m-fonts.noarch : M+ M emphasize the balance of natural letterform and high legibility
mplus-1mn-fonts.noarch : M+ M emphasize the balance of natural letterform and high legibility
Apologies, I am not sure which one of these you are talking about.Ultimately it comes down to being able to patterns quickly in the code. You can train yourself to do this with any font.
I couldn't get Monaco, a little more eccentric but sometimes nicer to look at, to render correctly on Linux. Wierd line heights and hinting problems.
Other than that, this is a decent retina font, but so are Anonymous Pro, Inconsolata-dz, Consolas, and Source Code Pro; and those all also come with options for Powerline.
Not surprising considering the author of Inconsolata cites Consolas as his primary inspiration, but I'd never noticed exactly how close they are. Both great monospace fonts. Very nice characters, but what really makes them stand out to me is that they both manage their kerning very well, especially around thin characters. Many other monospace fonts, including M+, end up with awkward gaps that approach a full space width and give the text a slinky-like compression/decompression effect, making reading and determining word breaks at a glance difficult.
It would be cool if there was objective research into this. (I don't know of any, but I haven't tried searching very hard.)
I can't look at M+ without seeing M+. With other fonts - I'm old-fashioned and like Menlo, but I've tried many others - all I see is code.
Currently I use Fantasque.
However the line height is quite tall which I'm not sure is an attribute of the font or text editors. TextMate still inexplicably has terrible line height management (you have to mess around with 2 terminal command settings).
My current favorite programming font is Inconsolata, but I'm being swayed by Source Code Pro.
Next up: what's the best text editor? You all start the discussion while I go pop some popcorn.
Of course there are more than 40 individual TTF files in the archive, but still: almost 40 MB! Yikes.
I like luculent.