Source Code Pro is a new font released by Adobe. It does wonders for technical fixed width and source code text readability. I highly recommend to use this font with your text editor, terminal and other software development tools (Especially if your eyes are getting old like mine).
UPDATE 2: I am not sure how subpixel antialiasing affects the screenshot quality. The images definitely have some LCD subpixel antialiasing if you zoom in. All screenshots were taken on Macbook Pro, OSX Mountain Lion, 1920 x 1080 external monitor (no retina).
Some highlights
- O vs 0
- i, j, l, 1, I, |
Source Code Pro light variant text (preferred on OSX where the default font antialiasing does very fuzzy job):
Source Code Pro light variant black on white:
Source Code Pro (normal) text:
vs. Consolas text (Microsoft’s console font):
Source Code Pro in the terminal (iTerm 2 + ztanesh colors):
The font itself is also open source: download at Github for your Windows, OSX or Linux.
UPDATE: If you don’t like horizontal and vertical spacing you can fine tune them at least with iTerm 2:
The only downside I have found is that the bold Source Code Pro variant looks muddy with OSX font antialiasing. Thus, I had to disable iTerm 2 option “show bold text with bold font”. This is actually a legacy ANSI text formatting option and means the font brightness (grey vs. white, brown vs. yellow, red vs. pink) so no much harm done.
Subscribe to RSS feed Follow me on Twitter Follow me on Facebook Follow me Google+
I tried many monospaced fonts for years and when Ubuntu Mono was created I haven’t looked back. It looks superb antialiased and the O vs 0 problem is also resolved. I use it under Ubuntu Linux so maybe it’s tweaked to it’s font settings (also there are some custom Ubuntu patches to font rendering engine).
I just tried Source Code Pro and it’s good but not perfect to my taste: too much spacing between lines, too thin. Smaller sizes look much clearer as Ubuntu Mono. Yet I see in your screenshots it’s not so thin so rendering engine and settings play huge role.
Please note that Source Code Pro comes with varying lightness degrees (I think there was 5 of them).
Also the spacing between lines setting can be adjusted at least in iTerm 2 and I have modified it to my preference.
Cheers,
-M
I still prefer crisp Terminus for terminals and editors. The only downside is lack of bold version in low sizes.
What Artur was trying to say was that Source Code Pro doesn’t look good with Ubuntu’s font rendering.
Ubuntu mono 12: http://i.imgur.com/2CxIY.png
Source Code Pro 11: http://i.imgur.com/k3LZx.png
I don’t like it, personally I use Menlo Regular (9) in both Sublime Text and Terminal, it works great.
This looks great! I like this trend of designers and software engineers working closer together, I think attributes of the two fields are rubbing off on one another. I wouldn’t have cared less about this a few years ago but after working closely with a typographer/designer I find myself pointing out fonts on signs and I definitely appreciate something like this. I also notice a proud sense of hacker accomplishment when my designer buddy pulls off a css/js modification!
Even eclipse’s ui is starting to look nice, bring on the geek design!
With all respect, I consider Terminus better
Nice typeface indeed. My biggest complaint is the *asterisk, which isn’t aligned with other signs (+, -, etc.)
If you like it, you’ll probably like Inconsolata, too.
I added some notes about subpixel antialiasing and vertical and horizontal space adjustment, as Hacker News folks where discussing about them.
I second the previous comment about Ubuntu Mono. I yet have to find a font that has a better combination of pleasant looks, excellent legibility and high compactness. Source Code Pro runs a lot larger at the same size, wasting too much space for my taste. I’m using it in iTerm 2 on the Mac, and I love it.
I prefer http://font.gohu.org/ over every other monospace font I’ve ever used. Source Code Pro isn’t as nice as a bunch of other fonts, IMO.
Out of curiosity, what color scheme are you using for your “black on white” screenshot?
It seems less harsh than most of the black on white themes I’ve seen, because of the grey background.
Source Sans Pro doesn’t have Cyrillic character, does it?
Pingback: Go Pro and your eyes will thank you | Itsaat
From these screenshots, and my own terminal, I still prefer Consolas or Inconsolata.
I personally prefer Monaco http://en.wikipedia.org/wiki/Monaco_(typeface) because, while also solving the problems you listed, also looks a bit more harmonious and mixed with OS X’s antialiasing it’s pretty fabulous to work with in Sublime Text.
I think I tested it with Monokai Bright theme in Sublime Text 2.
Most important factor for me is how it looks at 7px?
PJ Brunet: For such small font point sizes I suggest you get a bitmap font as vector fonts don’t tend to scale down to sizes < 9 pt. ... or just get a display with better DPI (recommended) 🙂
I’ll stay with awesome Meslo font – https://github.com/andreberg/Meslo-Font 🙂
I’m not too sure about Source Sans. It messed up my spacing and for python this is not good. Not too sure if this is a bug? Anyway Ubuntu mono looks a lot better (much less wasted space) both in Sublime Text 2 and in the Terminal
@kain: Yes, I currently use Menlo and it’s good enough 😉
It (Source Code Pro) looks awful for me on OS X 10.6.8 – the character spacing is a disaster:
http://i.imgur.com/VIX8E.png
And that’s with the character spacing reduced below the default. ‘m’s run into their neighbours long before other spacing looks right. I realise this isn’t the expected behaviour and that some sort of disaster has befallen my setup, so can anybody suggest what might be wrong?
Hi Chris,
For me it looks like a bug in the font rendering engine 🙁
Having read your post I gave Adobe Source Code Pro a try and as other comments have already noted Ubuntu Mono is much better.
I’ve looked at a lot of monospaced fonts until I found the one that suits me best and since it was not mentioned in the comments yet I’d like to point it out here:
Liberation Mono at font size 11 (I’m on Windows)
Source Code Pro looks nice but as others have pointed out it uses IMHO too much space.
I tried it. but I can’t leave consolas. sorry 🙁
This is spectacular, thanks so much for the heads-up Mikko! I can almost feel the damage to me retinas healing… ahhhh 🙂
Definitely unusable with the default spacing, but managed to make it look pretty nice on iTerm2 (http://cl.ly/image/2N2i0M2K2V2u/Cloud.png).
Pingback: PyCharm vs. Sublime Text