←back to thread

386 points italophil | 1 comments | | HN request time: 0.199s | source
Show context
zzo38computer ◴[] No.46214792[source]
Calibri font has "I" and "l" the same, according to Wikipedia. A better font should avoid characters being too similar (such as "I" and "l" and "1").

Another issue is due to the font size and font metrics, how much space it will take up on the page, to be small enough to avoid wasting paper and ink but also not too small to read.

So, there are multiple issues in choosing the fonts; however, Times New Roman and Calibri are not the only two possible choices.

Maybe the government should make up their own (hopefully public domain) font, which would be suitable for their purposes (and avoiding needing proprietary fonts), and use that instead.

replies(14): >>46225128 #>>46225165 #>>46225177 #>>46225182 #>>46226184 #>>46227037 #>>46227151 #>>46227688 #>>46228144 #>>46228391 #>>46228533 #>>46229284 #>>46229535 #>>46230299 #
ajross ◴[] No.46225177[source]
> Calibri font has "I" and "l" the same, according to Wikipedia. A better font should avoid characters being too similar (such as "I" and "l" and "1").

Only when used in a context where they can be confused. This is a situation where HN is going to give bad advice. Programmers care deeply about that stuff (i.e. "100l" is a long-valued integer literal in C and not the number 1001). Most people tend not to, and there is a long tradition of fonts being a little ambiguous in that space.

But yes, don't use Calibri in your editor.

replies(5): >>46225237 #>>46225842 #>>46227364 #>>46228177 #>>46228868 #
IshKebab ◴[] No.46225237[source]
> Most people tend not to

Yeah because normal people never have to deal with alphanumeric strings...

replies(2): >>46225303 #>>46225821 #
dragonwriter ◴[] No.46225821[source]
> Yeah because normal people never have to deal with alphanumeric strings...

Natural language tends to have a high degree of disambiguating redundancy and is used to communicate between humans, who are good at making use of that. Programming languages have somewhat less of disambiguating redundancy (or in extreme cases almost none), and, most critically, are used to communicate with compilers and interpreters that have zero capacity to make use of it even when it is present.

This makes "letter looks like a digit that would rarely be used in a place where both make sense" a lot more of a problem for a font used with a programming language than a font used for a natural language.

replies(4): >>46226185 #>>46226645 #>>46228464 #>>46229138 #
1. IshKebab ◴[] No.46229138[source]
> Natural language

I said alphanumeric strings not natural language. Things like order codes, authentication codes, license numbers, etc.