5 ms·
Programmatic programming font exploration
- Adrock 16y agoI'd really appreciate any suggestions for additional fonts to include in my explorations. Also, any ideas for visualizations you'd like to see are welcomed!
- jws 16y agoI find using black for the common areas to be more useful visually. For the subtle shape differences, it is easier to pick out a fringe of color against black than the hue shift of lavender to cyan.
- Adrock 16y agoGreat point. I'll do this in future posts.
- silentbicycle 16y agojacquesm already listed most of the usual suspects, but I also recommend MonteCarlo (http://www.bok.net/MonteCarlo/ http://www.bok.net/MonteCarlo/).
- psadauskas 16y agoEnvy Code R has been my preference for years: 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...
- jacquesm 16y agoHey Adrock, From this (http://news.ycombinator.com/item?id=2140643 http://news.ycombinator.com/item?id=2140643) thread: Inconsolata Liberation Mono Bitstream Vera Sans Mono Terminus. Menlo. Monaco andale mono More fonts listed in: http://stackoverflow.com/questions/4689/recommended-fonts-for-programming http://stackoverflow.com/questions/4689/recommended-fonts-fo... by way of ambirex
- gus_massa 16y agoI like "Proggy Clean Slashed Zero", because it is readable at small sizes. http://www.proggyfonts.com/index.php?menu=download http://www.proggyfonts.com/index.php?menu=download
- mavelikara 16y agoLuxi Mono
- JoeAltmaier 16y agoOn my screen the color differences don't appear very obvious. Any ideas?
- Adrock 16y agoI did a little exploration like this for the new MS fonts: http://cronus.ws/~mta/fonts/ http://cronus.ws/~mta/fonts/
- wzdd 16y agoI liked that the largest single-char difference between DejaVu Sans Mono and Droid Sans Mono is that the Droid version has a G in the style of Google's favicon.
- deleted 16y ago[deleted]
- deleted 16y ago[deleted]
- yan 16y agoMy favorite programming font is Pragmata[1]. It is however, commercial and not very cheap. [1] http://www.fsd.it/fonts/pragma.htm http://www.fsd.it/fonts/pragma.htm
- codex 16y agoAfter searching high and low for many years, I've settled on Akkurat Mono--a commercial font, well hinted, and gorgeous on Mac OS X. edit: link: http://www.lineto.com/The+Fonts/Font+Categories/Text+Fonts/Akkurat+Mono/ http://www.lineto.com/The+Fonts/Font+Categories/Text+Fonts/A...
- joakin 16y agoWow thats a beautiful font, thanks Edit: 190.380 USD or 140 EUR, Really? How can a font be that expensive?... I could pay 10 to 20 euro but man, the price of this font is almost half of my rent... Edit 2: Just discovered Inconsolata, also beautiful, and free http://www.levien.com/type/myfonts/inconsolata.html http://www.levien.com/type/myfonts/inconsolata.html
- codex 16y agoIt's expensive, true: but if you value your eyes, you should get something which is not fuzzy at common point sizes, but is still readable and with pleasing shapes even when rendering with sub-pixel anti-aliasing. I do like Inconsolata as well.
- msarnoff 16y agoWhat's going on with the symbols (%, #, @, etc.) in those comparisons? It looks like they're getting pulled from Courier New. I recently discovered the M+ fonts (http://mplus-fonts.sourceforge.jp/mplus-outline-fonts/design/index-en.html http://mplus-fonts.sourceforge.jp/mplus-outline-fonts/design...). "M+ 1m" is a very nice condensed monospace font that works well on my 13" MacBook Pro's small screen. However, there seems to be too much vertical space between lines, and it tends to be blurry at smaller font sizes, so I wouldn't recommend it 100%.
- stevenbedrick 16y ago> What's going on with the symbols (%, #, @, etc.) in those comparisons? It looks like they're getting pulled from Courier New. Mathematica can be really finicky regarding fonts in graphics when it comes to what it thinks of as "math" symbols. This has to do with the way that it typesets equations- most fonts won't have glyphs for integral symbols, for example. Let's say that for some odd reason you wanted to typeset an equation in Zapfino. Mathematica will be happy to do this, but since Zapfino lacks integral signs and numerous other mathematical symbols, Mathematica will helpfully substitute glyphs from its own built-in fonts "as needed." Unfortunately, it can be overzealous about this- its definition of "as needed" is awfully broad. I recently had a seriously annoying problem involving a graph I was trying to export- I'd set the graph up using Optima, but the graph's title included parentheses and a percentage sign. It all looked fine on the screen, but upon exporting it I found that the (, ), and % were all in the wrong font, since Mathematica decided that those were math symbols and as such needed to be substituted out for glyphs from another font. Turns out there's a (well-hidden and poorly-documented) way to manually override this font-embedding behavior- if any Mathematica users out there are interested, drop me an email.
- Adrock 16y agoSomeone was kind enough to comment on the post with this gem: Style["( . ) ( . ) ", 60, FontFamily -> "Comic Sans MS", PrivateFontOptions -> {"OperatorSubstitution" -> False}]
- 16y ago
- WildUtah 16y agoI still love my standard XWindows fonts. My favorite is 6x13. +No fuzzy font-smoothing edges to give you a headache. +l's, 1', 0's, O's, and symbols are easily distinguished. +doesn't take up too much space so I can have more code windows open +wide Unicode support, just in case +Works great with both programmers' editors. Yes, both. No need to fight. +stable, proven, familiar, and established
- msarnoff 16y agoAlso, if you're a LaTeX fan, Computer Modern Typewriter makes a decent editor font. (http://canopus.iacp.dvo.ru/~panov/cm-unicode/download.html http://canopus.iacp.dvo.ru/~panov/cm-unicode/download.html). The download link doesn't have a preview image, but you can see one here: (http://www.identifont.com/find?font=Computer+Modern+Teletype&q=Go http://www.identifont.com/find?font=Computer+Modern+Teletype...) It's like a nicer Courier. I used to use it for everything, but at work I've settled on 16-point Inconsolata. On a 2560x1600 display it's very easy on the eyes.
- blahedo 16y agoThis is a great visualisation. What's frustrating, and what few font designers seem to realise, is that it's not enough for two letters to be distinguishable if they're next to each other; I need to be able to glance at a lowercase L and know immediately that it isn't the number 1, even if there are no other l's or 1's in view. Many of these fonts have a very distinct lowercase L but the number 1 could go either way. Others have a distinctive number 1 but if you saw a variable named l you'd be momentarily confused.