13 ms·
Adobe's Source Code Pro Font
- Jach 14y agoSince this is just turning into the "name your favorite mono-font" thread, I prefer Bitstream Vera Sans Mono Roman: http://www.fontsquirrel.com/fonts/Bitstream-Vera-Sans-Mono http://www.fontsquirrel.com/fonts/Bitstream-Vera-Sans-Mono (My old favorite used to be Courier New Bold.)
- vinayan3 14y agoI'm switching from Consolas to Source Code Pro Font!This font works in Emacs on Mac OS X! Let the fixed width font war begin. Apple Vs. Microsoft vs. Adobe.
- tangue 14y agoYes, it looks really great in Emacs http://imgur.com/7rBbP http://imgur.com/7rBbP I just find the black font a bit too heavy, but everything else is fine.
- vinayan3 14y agoThis thread could be social engineering to get someone to show some code in their editor which is 'secret sauce' to the project. :)
- yoklov 14y agoAt the risk of destroying your productivity for the day, you can probably fix that annoying line over your line numbers (that is, http://imgur.com/GhaNq http://imgur.com/GhaNq) by messing with your fringe-mode variable. I think I remember its presence having something to do with a conflict between fringe-mode and linum-format.
- tangue 14y agoThanks ! I've been searching a long time for a fix for this. I switched linum-format to " %d " and this is clearly better.
- cfqycwz 14y agoCan I ask what color theme you're using there?
- tangue 14y agoSure. It's the "wombat" theme included by default with Emacs 24.
- omni 14y agoWould you mind sharing the exact settings you're using in your .emacs? I'm struggling to find a happy medium in terms of weight, height, etc.
- johncoltrane 14y agoThat lowercase i is unbearable.
- deleted 14y ago[deleted]
- ck2 14y agoSourceCodePro is too wide or has too much horizontal spacing for me. DejaVu Sans Mono can be better in some environments http://dejavu-fonts.org/wiki/ http://dejavu-fonts.org/wiki/ I also discovered I like the new Ubuntu Mono http://font.ubuntu.com/ http://font.ubuntu.com/ except it has too much vertical spacing, but I hope to find a way to easily edit that someday
- tammer 14y agoI used the Source family briefly. It's quite nice, although there was something I didn't quite like about it. I replaced it with the Nimbus L family, which is very similar but seems easier to read to my eyes. (on X11, anyway. doesn't look quite as good on OS X for whatever reason).
- WiseWeasel 14y agoYeah, I tried this and ended up going back to DejaVu Sans in my Linux dev environment. Source Code Pro looked fuzzy to me.
- phylofx 14y ago> SourceCodePro is too wide or has too much horizontal spacing for me. I think so, too. At least compared to Consolas which I use and prefer.
- chrislaco 14y agoI'm also a Consolas user. For me, Inconsolata and SourceCodePro have the same issue: the horizontal placement of @ drives me nuts.
- mistercow 14y agoThe horizontal spacing of Consolas and Source Code Pro are almost identical. The vertical spacing of SCP is much greater, but you're more likely to be able to adjust that in your editor anyway.
- miohtama 14y agoI added some notes to the blog post about customizing horizontal and vertical spacing of the text. Advanced editors and terminals usually have a setting where you can fiddle this for your own comfort.
- deleted 14y ago[deleted]
- rll 14y agoTo install on Linux use the OTF files from https://github.com/downloads/adobe/Source-Code-Pro/SourceCodePro_FontsOnly-1.010.zip https://github.com/downloads/adobe/Source-Code-Pro/SourceCod... and put them in /usr/share/fonts/opentype I still prefer Ubuntu Mono though
- jarek-foksa 14y agoOn most distros third-party fonts can be installed locally in ~/.fonts/
- ary 14y agoI would be remiss not to point out Inconsolata. It's perfect (IMHO) for code, terminals, and email. http://levien.com/type/myfonts/inconsolata.html http://levien.com/type/myfonts/inconsolata.html
- tzaman 14y agoExactly, I use it in all my editors and iTerm too
- joshkaufman 14y agoI'm a huge fan of Inconsolata. There's a variant called Inconsolata-g that's even better: http://leonardo-m.livejournal.com/77079.html http://leonardo-m.livejournal.com/77079.html
- ggchappell 14y agoIt's good, but I'd say it's short of perfect due to the similarity of the "1" [one] and "l" [lower-case ell]. Inconsolata-g fixed this, but in a strange way (taking the lower serif off the "1" [one]).
- fbuilesv 14y agoThe 1 in Inconsolata does not have the serif either, and it hasn't for a while I think: http://levien.com/type/myfonts/incoshow.png http://levien.com/type/myfonts/incoshow.png
- 14y ago
- perlpimp 14y agothank you - it made quite a difference on high density thinkpad display.
- hythloday 14y agoNone-one's mentioned it so I want to point out Anonymous Pro, pretty much the first thing I install on every dev machine. http://www.ms-studio.com/FontSales/anonymouspro.html http://www.ms-studio.com/FontSales/anonymouspro.html
- tiziano88 14y agoAfter years of using Terminus on every single machine, I'm now switching to Anonymous Pro, and I'm liking it very much so far... Maybe I'll give Source Code Pro a try though, and see how it compares to them :)
- buster 14y agoYep.. Anonymous Pro is also my choice. Also i switched to Source Code for now to test :) Both are good anyway..
- ogai 14y agoWith all respect, I consider Terminus better, among other things because it is more compact and more readable
- markram 14y agoI've been using Terminus for about six months and absolutely love it. Here are some screenshots from the homepage: http://terminus-font.sourceforge.net/shots.html http://terminus-font.sourceforge.net/shots.html
- aerique 14y agoI always come back to Terminus. Been using it for god knows how many years now.
- enduser 14y agoI've been using Terminus for years. I've tried several times to get into "pretty" anti-aliased fonts, but nothing beats hard, sharp edges for a long day of programming. I specifically use Terminus with 16 pxlsize on a 15.6" 1920x1080 screen and find that delightful. Coding with dark text on a white background is much easier on the eyes, too, unless you have a screen that won't let you turn down the brightness. Pro tip: hold up a white sheet of paper in your well-lit work environment. Adjust your screen brightness to match the brightness of the piece of paper. Your screen should not be brighter than your work environment. Super pro tip: work outside. Get a professional laptop with a matte screen, one of those lightweight "antigravity" chairs, and find a nice place to work outdoors. A 12x24" piece of wood makes a good lap desk if you need to use a mouse and fits well over the armrests of all of the outdoor chairs I have worked in.
- cabirum 14y agoWorth noting the character set is lacking compared to other fonts such as Consolas or Ascender Uni. There's too much attention for 0 vs O's and too little for unicode coverage. Personally, I never understood the whole character differentiation thing when most modern editors/IDEs feature syntax highlighting and checking.
- whalesalad 14y agoI tried to get down with Source Code Pro, but it's such a radical departure from the popular monospaced fonts like Consolas, Inconsolata, Menlo, Monaco (classic!), etc... that I couldn't do it =( It's interesting how much of your productivity comes from the subtle/indirect recognition of things. Changing something as trivial your color scheme or font can take a good chunk of time for adjustment. I'm a huge fan of Ubuntu's monospaced font and use it on my Mac with Sublime. http://wsld.me/JzYm http://wsld.me/JzYm (Ubuntu Mono, 16pt)
- artursapek 14y agoI've never understood why people code on dark backgrounds with such thick, fuzzy fonts. I find it extremely hard to read and have instead grown used to coding on an off-white background. Fonts are just rendered much thinner in a dark color on a light background (or at least, they seem to be). There's more space between legs and inside the o's in the letters. I find it much easier to read. I've spent many hours trying to figure out how to convince Vim and/or OS X to lighten up on their font rendering. For some reason the only place I've been able to pull this off is Drracket which I just use for a class, and which has an option to do it. I've never been able to pull it off in my standard coding environment. I can't understand why that option isn't available anywhere else, or on an operating system level. This is Monaco 12pt in Drracket and Vim, with that Drracket font smoothing option at the bottom: http://i.imgur.com/Va0ZN.png http://i.imgur.com/Va0ZN.png Is there a good reason there's such little control over font rendering, at least on Mac?
- saurik 14y ago"Please note that Source Code Pro comes with varying lightness degrees (I think there was 5 of them)." <- From the comments on this article; might be useful.
- miohtama 14y agoYou are correct. The Source Code Pro light variant looks less fuzzy than Source Code Pro (normal). OSX does very fuzzy fonts by default. I updated the blog post to reflect that you should consider the light variant first on OSX. Also when switching to the retina display the fuzziness goes 100% away.
- artursapek 14y agoCool, thanks. Wasn't aware of the light variant. Yeah, I'm looking forward to my first retina laptop.
- dmorgan 14y ago>I've never understood why people code on dark backgrounds with such thick, fuzzy fonts. I find it extremely hard to read and have instead grown used to coding on an off-white background. Because we (I) find them extremely easy to read. I can't stand white or off-white backgrounds.
- mvts 14y agoI tried it and it looks all blurred in my text editor.
- zokier 14y agodid you install otf or ttf version? otf rendered worse in my case than ttf.
- drivebyacct2 14y agoI've been using this in elementary OS. Between that and using agnoster in zsh, I'm in nerd heaven. http://i.imgur.com/FoFUg.png http://i.imgur.com/FoFUg.png Actually, between elementary OS's font rendering settings, great terminal support and unix/linux tools, I'm spending basically every second on my MBA inside my eOS VM.
- whalesalad 14y agoYour prompt is awesome, mind sharing? And actually you have some interesting config going on with Sublime. The dots next to the files? Is that a source control flag or something? Re-read and realized you mention the theme, link for others who are curious: https://gist.github.com/3712874 https://gist.github.com/3712874
- drivebyacct2 14y agozsh + oh-my-zsh + 'agnoster' theme (agnoster is now included in oh-my-zsh). The dots are unsaved files (usually they're files that are open that I've renamed/deleted and thus it marks them as unsaved). The ST2 theme is "Aqua/Monokai Aqua" (EDIT: Note, that prompt looks AWFUL in Terminal.app/iTerm2.app. It can be made to look nice if you adjust the palette color settings for your emulator, fortunately, this screenshot is with Gnome-terminal's Tango palette.).
- whalesalad 14y agoAwesome! I use oh-my-zsh so i'll give her a spin.
- tiziano88 14y agonext step: Vim and tmux, I promise you won't look back :)
- drivebyacct2 14y agoI've been there before, Sublime has much better syntax highlighting (especially for Go). I have a customized vim config and I give it a serious shot once a year. So far Sublime Text 2 still has me very, very happy.
- cek 14y agoI pulled Source Code Pro out of brackets a few weeks ago and loved it in Sublime, VS, and ConEMU on Windows and iTerm2 on the Mac. Then someone pointed me at Envy Code R [1]... I find it much more pleasing with the benefit of great differentiation between 0 O etc... http://damieng.com/blog/2008/05/26/envy-code-r-preview-7-coding-font-released http://damieng.com/blog/2008/05/26/envy-code-r-preview-7-cod...
- mietek 14y agoI like it, but it's too wide. My top font choice is PragmataPro: http://www.fsd.it/fonts/pragmatapro.htm http://www.fsd.it/fonts/pragmatapro.htm Some sample screenshots from OS X: http://i.imgur.com/oxhSg.png http://i.imgur.com/oxhSg.png (white background) http://i.imgur.com/M0ZJz.png http://i.imgur.com/M0ZJz.png (black background)
- modernerd 14y agoI prefer PragmataPro too, but with antialiasing off in Sublime Text. I find it very clean: http://d.pr/i/8uP8 http://d.pr/i/8uP8
- dakimov 14y agoSeems to be the perfect font for use without antialiasing. Reminds me of the text mode on the old x86s.
- kibwen 14y agoPragmataPro really is a beautiful font. At first I was concerned that the larger line-height was a poor tradeoff for the decreased width, but it's so much more readable at lower sizes than e.g. DejaVu (my prior font of choice) that I've actually gained rows on my screen without sacrificing readability. My only remaining concern is that the hypen isn't vertically centered with many of the other symbols, making -= and -> look awkward.
- mietek 14y agoThe hyphen problem is fixed in the most recent version! CHANGES FROM 0.8 TO 0.81 edited by Fabrizio Schiavi 2012-06 * dashrockets -> <- <= =========> 0% >= += -= *= +--------+--------+--------+ are horizontally aligned * | ¦ "bar" and "brokenbar" are now designed to be overlapped between two lines of text | ¦ (useful for iTerm2, tmux 1.6., Terminal.app and others) * horizontal strokes of the letter Nun (U+05E0) is a bit shorter, to help make it more distinct from Kaph (U+05DB) * Italic weight is TrueType handhinted * Bold Italic weight is TrueType handhinted * added an entire Unicode block: 2100-214F Letterlike Symbols to the Regular weight * added these letters from the block 1D400-1D7FF Mathematical Alphanumeric Symbols to the Regular weight: Amathdoublestruck, Bmathdoublestruck, Dmathdoublestruck, Emathdoublestruck, Fmathdoublestruck, Gmathdoublestruck, Imathdoublestruck, Jmathdoublestruck, Kmathdoublestruck, Lmathdoublestruck, Mmathdoublestruck, Omathdoublestruck, bmathdoublestruck, dmathdoublestruck, emathdoublestruck, imathdoublestruck, jmathdoublestruck, Bmathboldfraktur, Cmathboldfraktur, Dmathboldfraktur, Emathboldfraktur, Fmathboldfraktur, Gmathboldfraktur, Hmathboldfraktur, Imathboldfraktur
- macrael 14y agoI've recently switched to coding in a proportional width font (right now I'm using Verdana) and I'm never going back. I've yet to be bothered by things not lining up perfectly like things can in fixed width fonts, and overall my code feels more readable and easy on the eyes. I recommend giving it a try.
- lsb 14y agoWhat sort of code are you writing? What languages are you using?
- CJefferson 14y agoWhile I'm not the parent, I can comment on this too. I program in Python, C, C++ and Java. In all these languages I prefer a proportional font. However I had to stop, mainly because the editors I want to use (Sublime text 2 at the moment) don't support proportional fonts.
- lutusp 14y agoProgramming in Python, where whitespace is syntactically significant, with a proportional font, seems to be volunteering for an unnecessary burden. Reasonable people may differ. The only mitigating factor would be that the spaces at the left margin all (presumably) have the same width.
- dagw 14y agoAnother proportional font using python programmer here. All significant white space is in the left margin and all has the same width, so not a problem at all.
- Stratoscope 14y agoAnd those are the only spaces that are significant in Python. Indentation works fine in proportional fonts, just like it does in monospaced fonts. The only thing that doesn't work is columnar alignment after the indentation, and that wouldn't be significant in Python anyway.
- dgesang 14y agoHere is another nice comparison of 24 monospace fonts in one picture: http://hostpicturefree.com/images/prograpup.png http://hostpicturefree.com/images/prograpup.png
- drivebyacct2 14y agoRendered on a mac by the looks of it.
- acabal 14y agoIt's reminiscent of DejaVu Sans Mono, the Free coding font I've been using and liking lately.
- xbryanx 14y agoI'm a huge fan of Panic Sans. Ripped it out of Coda and use it in Vim and my terminals.
- px1999 14y agoWhile not for me (I love Consolas too much), it's great that we're starting to see some useful fonts under permissive licenses (and from big names like Adobe and Google). I remember back in the day when there were only a handful of fonts that had a license that a) allowed redistribution and b) weren't GPLed.
- vladev 14y agoI installed the ttf version in Arch Linux and it looks awful. I guess it's freetype2's fault. Update: I bit the bullet and installed the Infinality patchset. The result is astonishing...
- neeee 14y agohttp://goput.it/5gi.png http://goput.it/5gi.png Was going to recommend freetype- and fontconfig-infinality, seems like i was too late.
- rbanffy 14y agoSince my Favorite Terminal of All Time is the IBM 3278, I cannot possibly resist mentioning the font I built upon x3270's bitmap: https://github.com/rbanffy/3270font https://github.com/rbanffy/3270font Yesterday, I moved all my terminals to the narrow version.
- dakimov 14y agoWow, Adobe. An open-sourced font. I cannot believe in such a miracle. I am truly amazed. One of the main proprietary capitalist freak companies decided to go opensource on what? - on fonts - one of the most closed and commercialized areas. Somebody has triggered some magic switch that turns the world into a slightly better place. The font is not that good though. In Windows it is rendered too wide. Does not seem to be able to replace my current fav Segoe UI Mono that I find more readable. But now it is a completely different story: we have the source codes! Let's go edit some fonts the way we like!
- praptak 14y agoMucking with console/IDE fonts is the ultimate waste of time. Please stop doing it. It won't enhance your productivity. You have been warned.
- Surio 14y agoSurprisingly good advice, but often ignored. :-)
- deleted 14y ago[deleted]
- bkorte 14y agoI love Source Code Pro - I keep my editor font size quite large (17-18px depending on the font) and the light variant of Source Code Pro is perfect for the large size.
- ttjervaag 14y agoA bit wide for my tastes in MacVim. My font of choice lately has been PT Mono. http://www.paratype.com/public/ http://www.paratype.com/public/ I highly recommend giving it a try!
- derleth 14y agoTerminus does the same thing: http://terminus-font.sourceforge.net/ http://terminus-font.sourceforge.net/ > Version 4.38 contains 879 characters, covers about 120 language sets and supports ISO8859-1/2/5/7/9/13/15/16, Paratype-PT154/PT254, KOI8-R/U/E/F, Esperanto, many IBM, Windows and Macintosh code pages, as well as the IBM VGA, vt100 and xterm pseudographic characters.
- skibrah 14y agoIMO, using light colored type on a dark background is relieves more eyestrain than any particular font could.
- RexRollman 14y agoI really like using Tamsyn, a bitmap font, for my Xterms. I just like the way it looks.
- biturd 14y agoWhere in the heck do you download this? I can go to github but I have to compile it, which needs "makeotf", and I don't have that on OS X. At least not right now.
- nieve 14y agoThe section titled "Pre-built font binaries" in the README links to the download location, but it's also the standard download location on github (right-hand side, below the clone URL and above the last commit box): https://github.com/adobe/Source-Code-Pro/downloads https://github.com/adobe/Source-Code-Pro/downloads
- Surio 14y agoI signed for their mailing list when Source Sans Pro was released because they had a sneak preview of Source Code on the announcement page, and I was intrigued at the look. I switched to Source Code on the day it was released, and it takes a short while to get used to (like everything new). It is a decent font and it wears well on you. While we are talking fonts, Source Sans Pro, their other proportional font family is also equally good. Give it a try, for documents and other editing purposes (browser font works well for me :-) ). http://sourceforge.net/projects/sourcesans.adobe/ http://sourceforge.net/projects/sourcesans.adobe/
- nnq 14y ago...would love to see a comparison like this http://1overn.com/2011/01/31/iterating-on-font-pair-comparisons/consolasinconsolata-2/for http://1overn.com/2011/01/31/iterating-on-font-pair-comparis... Consolasa vs Adobe Source Code Pro and also with Inconsolata (though for now I'm using Adobe's font simply for the fact that in sublime text 2 on xubuntu lts both Consolas and Inconsolata render as white squares instead of letters - couldn't figure out it's some weird encoding issue or dog knows what, as in other apps it works great)
- tsahyt 14y agoLooks good. However, nothing's going to stop me using TheSansMono[1]. I've discovered this font a while ago and have never looked back. I like the look and all the characters that might look similar have been worked on in order to be easily distiguishable, like the capital O and the number 0, the lowercase l and 1, and so on. Since it's my terminal font it's really the main font on my system and so far it's worked for everything. [1] http://www.lucasfonts.com/fonts/thesansmono/ http://www.lucasfonts.com/fonts/thesansmono/
- soapbeard 14y agoIve been using the VGA font since I started coding borland IDEs in DOS. I just cant find any other font that seems as easy to read. There is even a version of it with lots of unicode characters added. http://www.inp.nsk.su/~bolkhov/files/fonts/univga/index.html http://www.inp.nsk.su/~bolkhov/files/fonts/univga/index.html When I got a retina macbook the resolution meant each pixel of the font was 4 on the display instead of 1 so I tried and failed to find a substitute again. I ended up using fontforge to double the resolution of the font and smoothed it out by hand with some extra pixels. I like it even more now.
- jnazario 14y agoheh. i tend to lump font geeks in with grammar nazis as people who get worked up over the littlest things. while i never understood the reasons why people seem to go to war over fonts - witness the wrath against comic sans - i do appreciate a pretty font and the links in this discussion. serifs unite!
- tehwalrus 14y agoon my (now quite old) 13" macbook pro, I have to dial down the font size on my terminal to fit enough info on the screen. I'd got used to Monaco, but this makes everything so much clearer. I've been using it since this article came up, not yet been tempted to switch back.