-
-
Notifications
You must be signed in to change notification settings - Fork 4.6k
[Bug]: Devanāgarī characters not rendered correctly #4500
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Nothing we can do about playstore app here. Is issue reproducible in termux from F-Droid or https://github.com/termux/termux-app/releases? Otherwise please open an issue in playstore repo: https://github.com/termux-play-store/termux-issues |
I can reproduce the issue in termux-app built from source. I copied the characters from this issue and pasted it in termux app window. copy-paste does not change the word in Firefox Android which shows it correctly. |
Is this issue related with zero width joiner? https://en.wikipedia.org/wiki/Zero-width_joiner |
I think it's related but not exclusively. For example, the example they give on the wiki without ZWJ:
Renders in Termux as: So I think it happens for all conjuncts, see e.g. https://en.m.wikipedia.org/wiki/Conjunct_consonant |
Problem description
In termux (and as a result, vim in termux) devanāgarī characters are not rendered correctly: the compound phonemes are rendered separately, which results in weird jumps in the cursor position when going through a word character by character.
It seems something needs to be changed in the terminal, I couldn't find much information, but see e.g. https://askubuntu.com/questions/182642/devnagari-script-in-terminal
Steps to reproduce the behavior.
Type the following characters:
स्वर
It is shown in Termux as:
I.e. the first two characters should be merged but aren't, these are the three separate characters with spaces:
स् व र
Removing the spaces should merge the first two characters. It is the same for other compound characters.
What is the expected behavior?
It should show as:
System information
Thank you for the great software!
The text was updated successfully, but these errors were encountered: