Mobile app version of vmapp.org
Login or Join
Hamm6457569

: Why is it still common to use too similar glyphs for "1" and "l" in monospace? I have difficulty differentiating "l" and "1" when reading source code, i.e. monospace serif types. I am able

@Hamm6457569

Posted in: #Typefaces #Typesetting

I have difficulty differentiating "l" and "1" when reading source code, i.e. monospace serif types. I am able to tell which is which when looking more closely, but regardless of my eyesight, this requires additional concentration.

From my tests, this stems from the arrow head of the "l", which in combination with a wide base looks very similar to a classic "1" (e.g. in Courier Prime).

Notably, this confusion is greatly reduced when using either no arrow head (which looks a bit strange!), or a half width base (Fira Mono), or both (Monoid).



However, looking at www.s9w.io/font_compare/, it appears the problematic combination is easily prevalent.

Why is that? Should we not work more to remove this issue? Or is it just me having trouble?

I do understand that sans serif, the letters will look similar - but I'd hope that monospace serif would fix it, by using all the additional space available. In particular since some of the offending fonts were especially created for use in programming.

Edit: It should be noted that the problematic shape (the lower case L of e.g. Courier Prime) is commonly used to denote a '1' in other fonts (though often in reduced height, e.g. in FF Seria Sans). This surely contributes to my mind reading it as a '1'.

10.02% popularity Vote Up Vote Down


Login to follow query

More posts by @Hamm6457569

2 Comments

Sorted by latest first Latest Oldest Best

 

@Miguel516

Here are some more examples, not sure if these fonts work well for your purpose which seems to be a programming environment.

10% popularity Vote Up Vote Down


 

@Gail6891361

You get good differentiation with monospace fonts that have elongated ascenders for the lowercase 'L'. This also helps separating the lowercase 'L' from the uppercase 'i'.
Here's an example from the superb Nitti by the Dutch typefoundry Bold Monday.


Edit: Sorry this should be a comment, not an answer…

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme