Skip to content
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

TATWEEL and HAMZA ABOVE break lam-alef ligature #197

Open
adamiturabi opened this issue Apr 27, 2021 · 2 comments
Open

TATWEEL and HAMZA ABOVE break lam-alef ligature #197

adamiturabi opened this issue Apr 27, 2021 · 2 comments

Comments

@adamiturabi
Copy link

adamiturabi commented Apr 27, 2021

In some words, hamza is properly written above the horizontal connecting line. Examples:

image

This is input by U+0640 Tatweel followed by U+0654 Hamza above. Technically, Unicode should have provided a better, more semantic, way for inputing this but there is no spec/encoding so far.

This Tatweel->Hamza above technique works well for most words. However, sometimes the hamza comes between a lam and alef. In this case it should not break the lam-alef ligature. Example:

image

@rastikerdar
Copy link
Owner

Sorry for late answer.
Thanks for this issue. You are right. It should be fixed.

@adamiturabi
Copy link
Author

Thank you very much for considering this enhancement.

Since this issue was opened, I thought of a (hopefully) better way to handle this case, using uni034F "Combining Grapheme Joiner" (CGJ).

It is discussed here:
aliftype/amiri#217 (comment)

Using CGJ both hamza and dagger alef (uni0670) can be handled in a consistent manner.

I will also try to create a formal Unicode proposal for this soon.

Thanks again!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants