Improve generated avatar for Hindi names written in Devnagri
@uajain's full name, उमंग अनिलकुमार जैन, generates the following:
He tells me that it's OK like this, but two improvements would be nice:
- the two characters should be separated (perhaps with a zero-width non-joiner or hair space?) ‘because the chars fused together presents a "word" but that word doesn't mean anything.’
- the second character should be जै, not ज, if possible
He emphasises that this is personal preference; looking for prior art, we tested Telegram which implements a very similar algorithm. Interestingly it gives different results depending on the platform! On Android and the web, the avatar is identical (modulo colour) to what we generate:
On the desktop client, installed from Flathub, the second character is correct: