0

Programmers often fall back on monospace font variants for legibility, however some programmers blogs I read are starting to laud variable width fonts.

It seems to me that the best of both worlds would be a font where all character widths are small multiples of the space width (so M might be three or four spaces)

Does anyone know if such a font exists, and if so if a variant is available for free?

Kirtan
  • 21,295
  • 6
  • 46
  • 61
tletnes
  • 1,958
  • 10
  • 30
  • 1
    Should it be a community wiki? I guess its only tangentially related to programming. – Kirtan Jul 30 '09 at 06:52
  • Can you add links to these blogs? Personally, I would have major difficulties reading such fonts. Most programming font discussions I've read deal with choosing the most readable font, virtually all of which are monospace. – Charlie Salts Jul 30 '09 at 06:57
  • What are these blogs you're talking about? What's wrong with monospace fonts? if it works, don't change it. – shoosh Jul 30 '09 at 07:16
  • See http://stackoverflow.com/questions/4689/recommended-fonts-for-programming http://stackoverflow.com/questions/485174/programming-fonts – Dana the Sane Jul 30 '09 at 08:08

2 Answers2

1

We can make this a programming question by answering it as such.

In pseudo code:

For each of your installed fonts{
    spacewidth = widthof(space);
    For each character in the current font{
        width[charcode] = widthof[charcode];
    }

    print standarddeviation(spacewidth, width);
}
Chris Judge
  • 1,952
  • 1
  • 13
  • 10
0

they should be possible but apparently no one knows of any.

tletnes
  • 1,958
  • 10
  • 30