I was just wondering if there are actually fonts where the individual characters are used variably. An example: There are beautiful fonts which simulate that a text was written with a typewriter. The problem: All single letters look identical in comparison, i.e. an a looks like the next a; a b looks like the next b; every dot, every comma, every ampersand looks identical. Are there fonts that include, for example, multiple variants of a that are randomly used while writing? Do you understand what I mean? So that, for example, the text with the typewriter font looks more variant and realistic?
No, it is not possible. Font files are created in such a manner that every ASCII or Unicode character has at most 1 glyph. (At most, because not for every character has a particular font file a glyph.)
Maybe some workaround is possible using some Unicode fonts created for several languages, where some characters in different languages are similar, but not the same – for example the letter
a exists both in the Latin and the Cyrillic alphabets.
But the same effect you may reach by alternate fonts – which may be OK for very short texts, but not for long ones.
For long texts, there is an option to change fonts programmatically in a random manner, for example in Word text editor using its VisualBasic scripting language.