keyman
keyman copied to clipboard
feat(developer): monospace presentation for non-latin?
Screenshot
The markdown render is close enough:
<variables>
<set id="latn-digits" value="0 1 2 3 4 5 6 7 8 9"/>
<set id="beng-digits" value="০ ১ ২ ৩ ৪ ৫ ৬ ৭ ৮ ৯ "/>
</variables>
The sets should correspond to each other somehow, but the Bengali numerals aren't strictly monospace.
I wonder if there would be any way for an ascii space (U+0020) to align to the next character cell?
Here are the 'ascii' character columns roughly shown:
if 'space' automatically snapped to the next character cell to the right, it would be a simple matter to add spaces to the latin side to make it line up.
The downside to all of this is that a sentence in Bengali would look very irregular. So, a comment or a multi word value in Bengali would look worse and not better.