推荐用于编程的字体?

发布于 2024-07-04 02:19:05 字数 249 浏览 6 评论 0原文

您使用什么字体进行编程,以及用于什么语言/IDE? 我使用 Consolas 对于我所有的 Visual Studio 工作,还有其他建议吗?

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

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(30

冰雪之触 2024-07-11 02:19:06

我一直在使用 Dina - http://www.donationcoder.com/Software /Jibz/Dina/index.html - 现在用于文本编辑的字体一段时间,它似乎做得很好。

I have been using the Dina - http://www.donationcoder.com/Software/Jibz/Dina/index.html - font for awhile now for text editing and it seems to be doing the job nicely.

吃→可爱长大的 2024-07-11 02:19:06

ProFont。 只有我还在用吗?

ProFont. Am I the only one still using it?

樱桃奶球 2024-07-11 02:19:06

我喜欢 Visual Studio 中的 Fixedsys。 这是一个经典。 无抗锯齿模糊。

Fixedsys 字体

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

Fixedsys Typeface

牵你的手,一向走下去 2024-07-11 02:19:06

一篇优秀的 CodeProject 文章,列出了 33 种用于编程的字体(每种字体都有示例)

http:// www.codeproject.com/KB/work/FontSurvey.aspx

A excellent CodeProject article that list 33 fonts for programming (With examples of each)

http://www.codeproject.com/KB/work/FontSurvey.aspx

独木成林 2024-07-11 02:19:06

我很惊讶没有人提到Pragmata。 它是编程字体中的宝马。 简洁、可读、简约优雅的巅峰之作。

替代文本 http://www.fsd.it/fonts/imm/pr_abc.gif< /a>

现在有一个筹款项目正在进行中PragmataPro(比 Pragmata 涵盖了更大的 Unicode 部分),使其在知识共享许可下免费可用!

I'm amazed nobody has mentioned Pragmata. It's the BMW of programming fonts. Condensed, readable, and the pinnacle of simple elegance.

alt text http://www.fsd.it/fonts/imm/pr_abc.gif

There is now a fundraising project going on for PragmataPro (which covers a larger portion of Unicode than Pragmata) to make it available for free under a Creative Commons license!

遗弃M 2024-07-11 02:19:06

我不使用 Consolas,虽然它在 LCD 上看起来确实不错,但有时我不在 LCD 上,比如当我做演示时,它看起来很糟糕。

我当前选择的编程字体是 Liberation Mono字体。

天哪,刚刚发现为什么 Stack Overflow 上的文本看起来像垃圾,它强制使用 Consolas,这是一种 ClearType 字体,而在我当前没有启用 ClearType 的设置中,它看起来非常糟糕。

将在用户语音上进行错误报告。

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.

揪着可爱 2024-07-11 02:19:06

I use Consolas on my mac, BTW; here's a link to download the consolas TTF files if you want to install this (Mac/Win/Linux).

/mp

沧桑㈠ 2024-07-11 02:19:06

我喜欢 Profont,我第一次遇到它是在 Jeff 发表了有关字体编程的博客

I like Profont, I first came across it when Jeff blogged about programming fonts

酒浓于脸红 2024-07-11 02:19:06

TextMate 中的 Inconsolata 14pt

Inconsolata 14pt in TextMate

命硬 2024-07-11 02:19:06

我在 Windows 上将 Inconsolata 与 UltraEdit 结合使用。 对于 TextMate(在 Mac 上),我更喜欢 Monaco(它是默认字体)。

I use Inconsolata with UltraEdit on Windows. With TextMate (on the Mac) I prefer Monaco (it's the default font).

爱的十字路口 2024-07-11 02:19:06

我也喜欢 Consolas,但我也喜欢 Anonymous:http://www.ms-studio .com/FontSales/anonymous.html

I like Consolas too, but I also like Anonymous: http://www.ms-studio.com/FontSales/anonymous.html

滥情稳全场 2024-07-11 02:19:06

添加对 Consolas 的投票。 我的眼睛感觉很轻松。

Adding a vote for Consolas. It feels very easy on my eyes.

眉黛浅 2024-07-11 02:19:06

我从来没有找到离开 Courier New 的理由。 我认为只要是无衬线字体,我就不会对任何字体有问题。 等宽字体也非常适合编码。

I never found a reason to stray from Courier New. I don't think I'd have a problem with any font so long as it's sans-serif. Mono-spaced fonts are nice for coding, too.

意中人 2024-07-11 02:19:06

我也使用比例字体。 它们看起来不错,其原因与书籍和杂志中的相同:角色之间的差异越大,大脑就越容易区分它们; 并且您可以在屏幕上显示更多内容。 缩进仍然可以正常工作:6 个前导空格的宽度仍然是 3 个前导空格的两倍。

我使用了 Georgia 的一个版本,我对它进行了修改,使小写“l”看起来不像数字“1”,并在零上加了斜线。

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.

脱离于你 2024-07-11 02:19:06

我认为 Consolas 上的抗锯齿模糊是由未启用 ClearType 的显示器引起的。 Consolas 是为 ClearType 设计的。

[Jeff A:确实,您可以在 我就此主题撰写的帖子中看到此屏幕截图.]

I think the anti-aliasing blur on Consolas is caused by monitors which do not have ClearType enabled. Consolas was designed for ClearType.

[Jeff A: indeed, you can see screenshots of this in a post I wrote on this topic.]

同展鸳鸯锦 2024-07-11 02:19:06

我建议您阅读这些编程字体的比较,您可以在其中了解更多信息,而不是仅仅对特定字体进行另一次投票:

Jeff Atwood 的出色“综述”:
http://www.codinghorror.com/blog/archives/000157.html

另一篇对 5 种字体的评论,附有精美的截图:
http://blog.hamstu.com/2008/02 /03/代码排版/

Instead of just chiming in with another vote for a particular font, I'd recommend reading these comparisons of programming fonts where you can learn a little more:

Jeff Atwood's excellent "round-up":
http://www.codinghorror.com/blog/archives/000157.html

Another review of 5 fonts with nice screenshots:
http://blog.hamstu.com/2008/02/03/the-typography-of-code/

不打扰别人 2024-07-11 02:19:06

DejaVu Sans Mono(有时称为 Panic Sans),尺寸 11,抗锯齿。 以前我只使用没有抗锯齿的字体,但它似乎只适用于这种字体。

Sublime Text 中 Panic Sans 的屏幕截图

DejaVu Sans Mono (sometimes known as Panic Sans), size 11, anti-alised. Previously I only used fonts that weren't anti-aliased, but it just seems to work for this font.

Screenshot of Panic Sans in Sublime Text

习惯成性 2024-07-11 02:19:06

Two pages where there's a long list of programming fonts are these pages on keithdevens.com and lowing.org (dead link, but it's in the internet archive)

Some other discussions of programming fonts that may have more suggestions are the comments to this blog post on typographica and this topic on a text editor's forum.

Personally I like Triskweline:

alt text http://www.netalive.org/tinkering/triskweline/shot.gif

葬﹪忆之殇 2024-07-11 02:19:05

我喜欢 Terminus 来处理一些命令行内容,至少滚动日志文件和 irssi/irc (可用的 TTF 版本)。 下面是运行中的 terminus.ttf 的屏幕截图(Windows XP 上启用了 ClearType 的 PuTTY)。

下面是运行中的 terminus.ttf 的屏幕截图(Windows XP 上启用了 ClearType 的 PuTTY)。 http://misc.nybergh.net/pub/fonts/terminus/2008-09-08_terminus_ttf_in_gnu_nano_putty_windows_xp_cleartype_screenshot.png

I like Terminus for some command line stuff, at least scrolling log files and irssi/irc (TTF versions available). Screenshot of the terminus.ttf in action below (PuTTY on Windows XP with ClearType enabled).

Screenshot of the terminus.ttf in action below (PuTTY on Windows XP with ClearType enabled). http://misc.nybergh.net/pub/fonts/terminus/2008-09-08_terminus_ttf_in_gnu_nano_putty_windows_xp_cleartype_screenshot.png

靖瑶 2024-07-11 02:19:05

我使用 Lucida Console 多年,但从未找到更好的东西。

不过,我尝试了几次 Consolas 字体,简单地说 - 我更喜欢露西达控制台。

I use Lucida Console for years and never find anything better.

However I tried a few times Consolas fonts and simply -- I prefer Lucida Console.

记忆消瘦 2024-07-11 02:19:05

对于 UltraEdit 和任何与此相关的事情,我使用旧的 Courier New。

alt text http ://www.identifont.com/samples/microsoft/CourierNew.gif

我发现 Consolas 由于抗锯齿功能过强而难以阅读。

For UltraEdit and anything for that matter, I use the good old Courier New.

alt text http://www.identifont.com/samples/microsoft/CourierNew.gif

I've found Consolas to difficult to read with it's over anti-aliasing.

无语# 2024-07-11 02:19:05

我真的非常喜欢DejaVu Sans Mono。 它非常干净且养眼。

在此处输入图像描述

I really really like DejaVu Sans Mono. It is very clean and easy on the eyes.

enter image description here

落墨 2024-07-11 02:19:05

我真的爱上了 Droid Sans单声道

替代文本

I've really fallen in love with Droid Sans Mono.

alt text

浪漫之都 2024-07-11 02:19:05

Anarch,当然是32分。 代码风格!

anarch http://img525.imageshack.us/img525/1584/ss42po1.jpg

Anarch, 32 points, ofcourse. Code with style!

anarch http://img525.imageshack.us/img525/1584/ss42po1.jpg

〗斷ホ乔殘χμё〖 2024-07-11 02:19:05

我使用 Bitstream Vera Sans Mono,但您需要激活 ClearType 才能让它可读。

我喜欢本线程前面提到的“Illegal1 = O0”可读性测试,谢谢。

I use Bitstream Vera Sans Mono, but you need to activate ClearType to get it readable .

I like the 'Illegal1 = O0' readablility test, mentioned earlier in this thread, thanks for that.

仙女 2024-07-11 02:19:05

为摩纳哥+1,尽管这篇博文让我考虑切换到Inconsolata

我很好奇你们都使用什么磅值,我使用 TextMate 默认大小 12 磅。

+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.

只是偏爱你 2024-07-11 02:19:05

我什么都用 Consolas,包括 Notepad++、SQL Studio、Eclipse 等。我希望有一个 Mac 版本。 另外,如果您注意到,Stack Overflow 上的文本区域字段使用 Consolas,因此我们还有其他一些粉丝 :p

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

风向决定发型 2024-07-11 02:19:05

为摩纳哥 +1

alt text http://img.skitch.com/20080908-nmjji28uerreqpprs1h86gxna9.png

漂亮又漂亮我发现我可以连续读几个小时。

+1 for Monaco

alt text http://img.skitch.com/20080908-nmjji28uerreqpprs1h86gxna9.png

Just beautiful and I find I can read it for hours on end.

爱人如己 2024-07-11 02:19:05

Consolas (下载) 或 Andale Mono (下载)。 我主要使用 Andale Mono。 我很久以前写了一篇关于编程字体的文章,我认为 Consolas 还没有出来。

http://www.deadprogrammer.com/photos/fonts.gif

我发现输入 Illegal1 = O0 是一个很好的适用性测试。

Either Consolas (download) or Andale Mono (download). I mostly use Andale Mono. I wrote an article about programming fonts a long time ago, I think Consolas wasn't even out yet.

http://www.deadprogrammer.com/photos/fonts.gif

I find that typing Illegal1 = O0 is a good test of suitability.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文