Recommended Fonts for Programming? [closed]

2019-01-02 19:13发布

What fonts do you use for programming, and for what language/IDE? I use Consolas for all my Visual Studio work, any other recommendations?

30条回答
有味是清欢
2楼-- · 2019-01-02 19:19

I use a proportional font too. They seem good for the same reasons they work in books and magazines: the more variation between characters, the easier it is for the brain to distinguish them; and you can fit more on the screen. Indentation still works fine: 6 leading spaces is still twice as wide as 3 leading spaces.

I use a version of Georgia that I hacked to make the lower case "l" look less like the digit "1", and put a slash through the zero.

查看更多
流年柔荑漫光年
3楼-- · 2019-01-02 19:22

I don't use Consolas, though it does look good on LCD, but sometimes I'm not on LCD, like when I'm giving presentations and then it looks crap.

My current font of choice for programming is the Liberation Mono font.

Oh man, just discovered why the text on Stack Overflow looks like crap, it forces Consolas which is a cleartype font, and on my current setup which didn't have cleartype enabled, it looks very bad.

Going to make a bugreport on uservoice.

查看更多
呛了眼睛熬了心
4楼-- · 2019-01-02 19:23

I like Fixedsys in Visual Studio. It's a classic. No anti-aliasing blur.

Fixedsys Typeface

查看更多
怪性笑人.
5楼-- · 2019-01-02 19:24
墨雨无痕
6楼-- · 2019-01-02 19:25

+1 for Monaco, although this blog post is making me think about switching to Inconsolata.

I'm curious as to what point size y'all use, I use the TextMate default size of 12pt.

查看更多
浪荡孟婆
7楼-- · 2019-01-02 19:26

I use Consolas for everything, including Notepad++, SQL Studio, Eclipse, etc. I wish there was a Mac version. Also, if you notice, the text area field on Stack Overflow uses Consolas, so we have some other fans out there as well :p

查看更多
登录 后发表回答