Learn more about language support. Learn more about OpenType features. Upload a photo to scan for similar type. Source Code Designed by Paul D. Hunt and Teo Tuominen. From Adobe Originals. All Fonts Active. 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. What sort of code are you writing?
Download Fira Code - Regular
What languages are you using? CJefferson on Oct 7, While I'm not the parent, I can comment on this too. 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. Programming 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.
Another 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 on Oct 8, And 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. You're not missing anything. Works great! CJefferson on Oct 8, No, you aren't. I tried something like that in the past and it didn't seem to work. No idea why now! In fact, I'm pretty sure if you put an invalid font name in you get a default proportional font. Lately I've been writing a lot of ruby on rails. Second Verdana. I use it on both Mac and Windows for all languages. It looks and reads better that any of the fixed fonts I've tried.
Free Serif Fonts
In the first couple of days after I switched it felt a bit weird, but then that feeling went away. I suspect that was due to the fact that I was simply used to fixed fonts and not that there was anything wrong with proportional fonts. Luyt on Oct 7, I also use proportional fonts when programming, since reasonably looking proportional and antialiased fonts appeared on Windows and X.
I would consider trying proportional width fonts, but I work on a fairly large team that all touches a lot of the same code.
Font release note
Having bunch o comments not line up may not bother me, but it would annoy others on the team. I've had so many programmers react with shock when I tell them I use proportional fonts, that sometimes I think I'm the only one. I'm glad to hear your comments and the others here. I really enjoy reading text in proportional fonts much more than monospaced. That's true for program code as much as any other text. Like you, it doesn't bother me to lose vertical alignment. The only vertical alignment that matters to me in code is the indentation, and that works fine in proportional fonts.
The one exception being that the popular two-space indents are really lousy in a proportional font. So I prefer tabs, or if spaces are a requirement, four-space indents. In fact, some time before I started using proportional fonts, I'd already changed my coding style to avoid vertical alignment other than the left margin. It is a pain to maintain and keep the spacing right, and in this fairly realistic example I find it extremely unhelpful to have all that whitespace separating "aParam" with its comment. The comments about the parameters are not related to each other , they are related to the parameter that each one applies to.
Having made this change, some time later I discovered that the version of Visual Studio I was using at the time supported proportional fonts, gave it a whirl, and like you, found I really liked it. It is true that when I read other people's code who've used columnar alignment, the alignment doesn't work any more. But for the most part that just doesn't bother me. In the few cases where the alignment really makes a difference, I just switch to a monospaced font to read that file.
Like many editors, you can set up a customized theme of fonts and colors, but unlike any other editor I know of, each theme includes separate selections for a proportional font and a monospaced font. They don't have an explicit way to select proportional vs. So that's a way to view a monospaced file. I wish more editors had this kind of flexibility. Aligning crap like that is one of the indicators I use to tell if someone is an inexperienced coder.
After you write enough LOC, you eventually realize that lining things up is a waste of time. You're inevitably going to insert a line long enough to screw up your alignment, and now you'll have to bungle your diff. I've tried proportional fonts and gave up as the programming languages tend to emphasize punctuation and put crucial meaning in it, but in proportional fonts the punctuation is a second-class citizen, and this is reasonable for natural languages, but is not good for programming languages. Could you give an example or two of program code where a proportional font made the punctuation hard to read or stand out less?
I'm curious because I've coded in proportional fonts for ten years and haven't found that to be the case myself - with a couple of possible exceptions. In a monospaced font, the underscore is the same width as every other character. In a proportional font, the underscore is one of the widest of characters, and much wider than a space. For example, in the font I'm coding in right now, an underscore is 13 pixels wide, a parenthesis is 8 pixels, and a space is only 5 pixels! So what happens is that the underscore in a way gives more visual separation in an expression than spaces or other punctuation.
I 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! 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. IMO it looks better than Inconsolata.
Go Pro and your eyes will thank you
StavrosK on Oct 7, Nope, DejaVu Sans Mono is my preferred monospaced font too. 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. 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. 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. If you try to look at screenshots of OSX font rendering on low-ppi displays i. On the other hand, ClearType is optimized for low-ppi displays.
The images definitely have some LCD subpixel antialiasing if you zoom in. Source Code Pro light variant text preferred on OSX where the default font antialiasing does very fuzzy job :. This is actually a legacy ANSI text formatting option and means the font brightness grey vs. It looks superb antialiased and the O vs 0 problem is also resolved. Smaller sizes look much clearer as Ubuntu Mono. 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.
I still prefer crisp Terminus for terminals and editors. The only downside is lack of bold version in low sizes. This looks great!