sander / code-illuminated

Automatically exported from code.google.com/p/code-illuminated
0 stars 0 forks source link

The code font is hardly readable #10

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
The font used in the second column is too small for the code to be 
comfortably readable. This isn't a problem when reading the docs for a 
quick overview of the code structure, but makes it hard to see what each 
line of code does.

This may be a Linux-only problem, where the fallback monospace font is 
used. In most Linux distributions, this is Bitstream Vera Sans Mono (or the 
DejaVu fork, which has the same proportions). But, judging from the 
following screenshot, the situation is only a bit better on Mac:

  http://www.flickr.com/photos/azaraskin/3186397391/sizes/o/

For reference, I've attached a screenshot of the current look of CI, and 
one where the text is page is zoomed so that the code is readable, but with 
too large documentation fonts. I'm using Ubuntu with font hinting disabled, 
but other font settings still don't make the fonts much larger of course.

This could be solved by breaking the nice 50-50 layout that's currently 
used, making the code column wider and the code text larger. Also, a font 
with a larger x-height like Monaco could be included with @font-face.

For printers, the current 50-50 layout still seems like the best possible, 
so only changing the font might be enough to make the code more readable.

Original issue reported on code.google.com by sander.d...@gmail.com on 5 Jun 2009 at 2:13

Attachments: