- 浏览: 830291 次
- 性别:
- 来自: lanzhou
文章分类
最新评论
-
liu346435400:
楼主讲了实话啊,中国程序员的现状,也是只见中国程序员拼死拼活的 ...
中国的程序员为什么这么辛苦 -
qw8226718:
国内ASP.NET下功能比较完善,优化比较好的Spacebui ...
国内外开源sns源码大全 -
dotjar:
敢问兰州的大哥,Prism 现在在12.04LTS上可用么?我 ...
最佳 Ubuntu 下 WebQQ 聊天体验 -
coralsea:
兄弟,卫星通信不是这么简单的,单向接收卫星广播信号不需要太大的 ...
Google 上网 -
txin0814:
我成功安装chrome frame后 在IE地址栏前加上cf: ...
IE中使用Google Chrome Frame运行HTML 5
I’m a typeface geek, and when it comes to selecting a font I’ll stare at all day, I tend to be pretty picky. Recently, when I discovered that a friend was using a sub par typeface (too horrible to name here) for his Terminal and coding windows, my jaw dropped, my heart sank a little, and I knew it was due time for me to compose this article.
What follows is a round-up of the top 10 readily-available monospace fonts. Many of these fonts are bundled along with modern operating systems, but most are free for download on the web. A few, notably Consolas, are part of commercial software.
A note about anti-aliasing
In the past, we’ve had to decide between tiny monospace fonts or jagged edges. But today, modern operating systems do a great job of anti-aliasing, making monospace fonts look great at any size. It’s not 1990 anymore. Give your tired eyes a break and bump up that font size.
If you have any doubt that anti-aliased fonts are apropos for code, note that even the venerable BBE dit — which for years has shipped with un-aliased Monaco 9 set as the default — has made the jump. The app now ships with a specially licensed version of the Consolas font from Ascender, bumped up in size, and with anti-aliasing on by default. Panic includes a special anti-aliased font (Panic Sans, which is actually just a version of Deja Vu Sans Mono) with its popular Coda application.
Unless otherwise noted, I’ve used a larger size font, 15-point in fact, for the examples here to illustrate their legibility at larger sizes and with anti-aliasing turned on.
10. Courier
All systems ship with a version of Courier (sometimes Courier New), and unfortunately, many have it set as the default font for terminal and editor windows. It does the job, but it’s a bit dull and boring, lacking style and class. I don’t recommend this font if you have any other choice — and fortunately, you do. If you use this font, please bump the size and turn on anti-aliasing.
9. Andale Mono
A bit better than the Courier family, Andale Mono is still relegated to the “default font” category as it ships with some systems, and you wouldn’t want to download or use it if it wasn’t already there. The character-spacing is a bit too clumsy and the letters are a bit too wide for my tastes.
8. Monaco
Monaco is the default monospace font on the Mac and has been since its inclusion in System 6 . It’s a solid, workhorse font that really shines at smaller font sizes with anti-aliasing turned off . I loved this typeface back when my eyes could tolerate staring at a 9-point font for hours, but those days are behind me. This font looks great at 9 or 10-points (Figure 4), and doesn’t look too shabby anti-aliased at higher sizes (Figure 3).
As far as I know, you can only get Monaco as a part of Mac OS, but there are alternatives, so keep reading.
7. Profont
Profont is a Monaco-like bitmap font available for Mac, Windows, and Linux (there’s also a modified version for Mac OS X called ProFontX by a different author). They’re best at smaller sizes, and make a great alternative to Monaco if you’re on a non-Mac platform and want really tiny fonts and the eyestrain that goes along with them.
Profont (and ProFontX) is intended for use at 9-points with anti-aliasing turned off.
6. Monofur
Monofur is a unique monospace font that looks great anti-aliased at all sizes. It’s a fun font with a distinct look that is vaguely reminiscent of Sun’s OPEN LOOK window manager, which ran Solaris (aka SunOS) systems back in the late 80’s. If you’re looking for something a bit different, try this font, but make sure you have anti-aliasing turned on, even at small sizes.
5. Proggy
Proggy is a clean monospace font that seems to be favored by Windows users, although it works fine on a Mac. It’s a clean font intended to be used only at smaller points, and without anti-aliasing.
4. Droid Sans Mono
The Droid font family (available for download here ) is a nice font family designed for use on the small screens of mobile handsets, like Android , and licensed under the Apache license.
Droid Sans Mono makes for a great programming font. It’s got a bit of flair, and stands out among the other monospace fonts I’ve listed, and its only real flaw is the lack of a slashed zero.
3. Deja Vu Sans Mono
The Deja Vu family of fonts are one of my favorite free font families, based on the excellent Vera Font family . The Deja Vu fonts have been updated with a wider range of characters while maintaining a similar look and feel to that of Vera.
This was my go-to font family for many years. It looks great at any size with anti-aliasing turned on.
Panic ships a font with it’s Coda application called “Panic Sans” which is based on this font. Gruber says via email that when he compared Panic Sans against Vera, he noted that “Panic had noticeably crisper punctuation chars” and that it seemed like they had improved the hinting on some characters as well.
2. Consolas
Consolas suddenly appeared on my Mac after I installed Microsoft Office, along with a handful of other new fonts from Microsoft.
This font was designed by Luc(as) de Groot for Microsoft’s ClearType font family (there’s a nice write-up with samples of each of the new Microsoft fonts here ). Consolas is a commercial font, but is bundled with many Microsoft products, so there’s a good chance you might already have it on your system.
You’ll absolutely want to have anti-aliasing turned on if you’re using Consolas, because it’ll look terrible without it.
Too bad it’s not free … if it was, it would be #1 on this list.
1. Inconsolata
Inconsolata is my favorite monospaced font, and it’s free. Shortly after discovering it, it quickly supplanted Deja Vu Sans Mono as my go-to programming font. I use it everywhere, from Terminal windows to code editors. It has a certain sublime style that’s unique without being over the top, and it looks fantastic at both large and small sizes. I use this font when I show code samples in a presentation, and it’s the font we use in Terminal and TextMate windows when filming PeepCode screencasts .
Inconsolata is designed to be used with anti-aliasing enabled, but it’s surprisingly legible even at very small sizes. A big thanks to Raph Levien for creating this font, and for making it free .
Thoughts?
Did I miss your favorite coding typeface? Think the list is out of order? Let me know. If there’s a typeface you think should be in this list, please let me know in the comments section below. If it meets my ridiculous standards, I’ll review it and include it in a follow-up article.
发表评论
-
为什么中国出不了扎克伯格
2010-03-12 08:01 1083他们已基本失去成为互 ... -
不会编程的程序员
2010-03-06 12:39 889我想这让人难以置信, ... -
让代码更美:10大编程字体
2010-01-21 13:36 1715日复一日的编写代码, ... -
Everything you need to know about Android 2.0
2009-11-07 21:03 1050Android 2.0 (formerly codenamed ... -
Linux: still better for coding
2009-11-05 08:01 794Something like one year ago I s ... -
Speed Up and Back Up Your Rooted Android Phone
2009-10-31 15:16 1033If you've rooted your Android p ... -
Five Favorite Web Applications of Designers
2009-10-18 08:36 898Webapps –compared to their des ... -
The Best Programming Language for a Lean Startup
2009-10-18 08:31 1167Think arguments between religio ... -
5 Excuses Bad Programmers Make
2009-10-16 16:51 672It’s a common problem, there’s ... -
How to Create a Twitter Feed on Your Web Site
2009-10-08 08:50 975Twitter has quickly become one ... -
How NOT to test that mysqld is alive
2009-10-06 09:35 859I had a call from a new custo ... -
CodeThatDocumentsItselfSoWellItDoesNotNeedComments
2009-10-06 07:56 678“When I first met the lead de ... -
The Evolution of a Programmer
2009-10-06 07:54 666High School/Jr.High 10 PRI ... -
将Web入侵消灭在萌芽之中——预防SQL注入
2009-10-05 08:38 1030国家互联网应急中心CN-S ... -
阿里要走102年 阿里的工程师能走多远?
2009-10-04 08:46 634很高兴看到阿里云的 ... -
支持云应用程序服务的PHP API
2009-10-03 08:14 984自称“PHP公司”的Zend Technologies发起 ... -
Java is dead, but you'll learn to love it
2009-10-02 08:32 1040A favorite hobby-hors ... -
程序员需要知道的97件事
2009-10-02 08:24 1407继架构师需要知道的97件事(参看InfoQ此前的报道)之后,该 ... -
Google Wave: There Will Be Backlash
2009-10-01 08:11 706Have you gotten your Google W ... -
A Letter To The Programmer
2009-09-30 08:25 796This is a letter that I would n ...
相关推荐
vfs_fonts大全
Windows 10原版字体(全部),直接全选安装,或者复制到 C:\Windows\Fonts 目录下。 20H1版本提取。仅用于Windows 10系统,其他系统请勿替换。否则可能发生字体模糊。
如果遇到MD5加密文件(一般都是这个),而又不知道密码的, ┃ ┃ 请用这组加密的数据7a57a5a743894a0e替换即可,那么密码就是:admin ┃ ┃ (这个是16位的,32位的是:21232f297a57a5a743894a0e4a801fc3)
jasperreports-fonts-4.5.1.jar
支持Windows 10 x64 2004/20H2版本的中文字体功能包 安装方法dism /online /Add-Package /PackagePath:D:\Win10x64-20H2-LanguageFeatures-Fonts-Hans-Package.cab
支持Windows 10 x64 2004/20H2的日文字体语功能包 安装方法dism /online /Add-Package /PackagePath:D:\Win10x64-20H2-LanguageFeatures-Fonts-Jpan-Package.cab
bitmap-fonts-0.3-6.fc10.noarch.rpm
Xming-6-9-0-31-setup.exe Xming-fonts-7-4-0-3-setup.exe putty.exe Putty教程(putty+swing+fonts).doc
解压得Liunx下wps缺失字体文件wps_symbol_fonts.zip
windows下配置 Xming 要用,不配置字体不能用 Xming 妈蛋还不到50个字节吗?