Posts tagged with coding-fonts - page 6

Comparing programming fonts

The blogging about favorite programming fonts doesn’t seem to want to truly die down so here’s how I rate the most popular fonts for programming in descending order with my own Envy Code B which I use all the time – but now desperately needs the ClearType treatment.

If you click the image you’ll see red boxes highlighting what I feel are the various problem characters/positioning with each font.

Comments are welcome apart from people suggesting proportional fonts. Tried Tahoma, Verdana and a few others – I just plain don’t like proportional fonts for programming.

A preview of programmer fonts

It seems many people are raving over Consolas but the x-y proportion just seems wrong to me – I prefer taller thinner characters for the odd longer line. Don’t get me started on the ugly lower-case g and ? or the fact that numbers are smaller than capital letters.


InconsolataDG – Slashed zero’s

Inconsolata now incorporates slashed zero’s rendering my version redundant. It has therefore been removed.

I’ve been messing about with FontForge and the Inconsolata font and come up with my own variant – InconsolataDG.

This version includes a slashed zero and the position of the horizontal bar on the lower-case f dropped to stop the blurring at 9/10 points. A whole 10 minutes work most of which included installing and configuring FontForge.

I’d actually done more work on it previously in FontLab but it did strange things to the curves – apparently converting Bézier to quadratic with imperfect results.

You can find it at my InconsolataDG page which will be updated as I make some more changes I want (loosing the loop on the lower-case g, filling in some missing symbols and maybe trying to get some hinting in there for improved Windows rendering).


: i and l characters modified to disambiguate l from 1 and ZIP now includes FontForge source file.


Inconsolata OpenType programming font

Inconsolata font at 10pt and 12ptMy quest for something to replace Envy Code B on my ClearType-enabled systems continues.

It must be obviously scalable, mono-spaced (yes I know you can program with variable-width but I prefer fixed-width), have distinctive characters to help avoid confusion between 1il, o0OQ, $Ss8 at reasonably small font sizes – you know the drill.

So far I’ve tried:

and a whole host of less desirable ones from Keith Deven’s programming font list.

Imagine my surprise when I read on Scott Hanselman’s blog he was using a font I’d never heard of called Inconsolata.

True, the font isn’t perfect but it is very fine indeed. The best news is that it is to be liberally license which means I should be able to make the tweaks I want (there are some Bézier glitches, missing symbols and that zero needs a slash through it) and release a derivative version. I’m also not keen on the micro-serifs but we’ll see.

I’m just getting clarification on the situation from the author as to whether the license applies now or at final release.


Envy Code B font available in TrueType format

It’s been a long time coming but finally – a TrueType conversion of my programming font Envy Code B.

Envy Code B on the Mac size 13It’s still a pixelated font so will only look good at 10pt (on Windows, 13pt on the Mac). There is no bold or italic variants but this should be enough to get it into those elusive TTF-only applications like CodeSmith and Flash.

Please note however that there will be color fringing on ClearType systems. This seems to be a limitation of the Windows XP font rendering system as it is even ignoring the bit-mapped font representation despite documentation I’ve read online to the contrary.

Envy Code B on the Mac at size 10 anti-aliasedYou can use the font on Mac OS X too – set to size 13 and turn off anti-aliasing where available (e.g. Terminal). It also looks quite good at 10pt if you can read text that small.

Now maybe I can get the hang of vector based fonts and produce a proper scalable version… Until then Anonymous or Monaco are quite worthy replacements ;-)