3

We have a small in-house application which generates a string consisting of upper and lowercase letters, and the numbers 0-9. We've tried using various fonts to output this string, but users frequently get confused between certain combinations like:

  • Lowercase letter 'o' and uppercase letter 'O'
  • Uppercase letter 'O' and number '0'
  • Lowercase letter 'l' and number '1'
  • Uppercase letter 'S' and number '5'

and so on.

Can anyone recommend a font that might be suitable?

  • Can you give a little more detail on the end use of the font? Can it be a terminal-style font? Does it have to be pretty? – Ovaryraptor Feb 27 '18 at 16:13
  • It's only used internally so aesthetics don't matter. I tried fixed-width Courier, but uppercase 'O' looks too similar to the number zero. – Guesty Feb 27 '18 at 17:29
  • 1
    Check if coding fonts provide the functionality that you are looking for. They are usually very careful in making all characters appear unambiguous. A "Slashed Zero", for example, is a common solution. – usr2564301 Feb 27 '18 at 18:49
1

I would suggest IBM Plex

It comes in 48 styles and the family includes both a sans-serif, a serif, and a monospaced variant, all with excellent distinctiveness (1/I/l and O/0 are easily distinguished and it has both dotted and slashed alternates available for zero), and the entire family is free.

enter image description here

0

I'd suggest giving Courier Prime Code a whirl as the lowercase o is round while the uppercase O is more of an ellipse, and it has a slashed zero that's even more elliptical. The 1, i, j, I, J, 5 and S characters all have distinctive features as well. Best of all, it's free and Courier Prime (serif) and Courier Prime Sans are complementary typefaces (in case you need some variety).

https://quoteunquoteapps.com/courierprime/#code-sans Upper and lowercase plus numbers in Courier Prime Code

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.