Experimenting with different fonts

Friday, January 8, 2010 4:41 PM

Was bored today, and decided to experiment a little with different types of fonts for Visual C++. Now for the past 5 years I've been using courier new, and occasionally consolas as my editor font, but I wonder how proportional fonts can look with blocks of code. Here are my results:



The original, in Courier New. Fairly readable font, the onlything that bugs me is the curly braces are fairly hard to distinguish from parenthesis.



I've been using consolas for the past little while, and have few complaints. It's clean and clear, and has no big readability problems.



Ah into the proportional fonts. Helvetica seems fairly difficult to read as the text comes out to be way too thin, and the text don't line up nicely(as with all proportional fonts)



I actually liked gills. It looks tidy and the brackets are all fairly readable. One thing I really like about this is how wide each space is in comparison to the white space between letter. This "bunches up" the keywords and makes it really easy to read each word. One little complaint is that the number 1 looks almost indistinguishable from a small L.



I was never a big fan of serif fonts in documents, but the look of this turns out better than I expected. The words are easy to read, although the width of the space seems to be a little to narrow for my liking. Also the '()' looks a bit weird.



Verdana is one of the most legible fonts for programming. The L/i/1 all look different, as is O and 0. Horizontal whitespace wise it's fairly good as it has sufficent width for space to distinguish each word. The space between each letter is a bit too thin, as rn turns out to look a lot like m.



Deja vu isn't as well known as the other fonts in this list, but I think that it is one of the better looking monospaced fonts. No big complaints about anything, only that the l looks a bit weird.

You can get the font here: http://dejavu-fonts.org/wiki/index.php?title=Download



Ah the IKEA font. Visually I think it looks the best out of all the fonts here; however one big flaw of this font is that small L looks identical to a capital i. The stacked parenthesis look a bit hard to read though(difficult to count if there are 5+ parenthesis).

In the end I decided to use verdana. If I were to rank the fonts here though, these would be my top 3(Except verdana):
1. Deja vu
2. cambria
3. Gills sans

0 comments:

Categories