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

Two major character issues: sukun and لا #2

Open
tarkeez opened this issue Feb 20, 2024 · 3 comments
Open

Two major character issues: sukun and لا #2

tarkeez opened this issue Feb 20, 2024 · 3 comments

Comments

@tarkeez
Copy link

tarkeez commented Feb 20, 2024

First issue is that in many cases, instead of sukun (\u{0652} ◌ْ ), there is the upper zero character (\u{06DF} ◌۟). This seems to happen on alif ا and waw و

In Uthmani Hafs script this causes the following in the epub:
image
Instead of (same epub after replacing with sukun):
image

Second issue is lam alif لا is sometimes rendered wrong. This seems to at least happen when there is hamza and fatha on the alif.

This causes the following in the epub:
image

Which on quran.com looks like this:
image

The second issue has to do with rendering I think, because the characters they use are not regular (لْأَ) but are actually encoded like this: لْـَٔا. If you look at the quran.com picture, the hamza and fatha are between the lam and alif, so they look like this:
image
Whereas if I write لْأَ and render it in Hafs, it looks like this:
image

Which is not as nice as the quran.com rendering but much better than this:
image

I don't know that they do at quran.com to get لْـَٔا to show nicely with the hamza and fatha in the middle.

@tarkeez
Copy link
Author

tarkeez commented Feb 20, 2024

I realize now that the sukun used in the cases I mentioned is meant to be different, same as the lam alif ligature is meant to be different to get the hamza and fatha in the middle.

On quran.com, the regular sukun (\u{0652} ◌ْ ) look like this (same as you see in the above picture from quran.com):
image

Where the second sukun (\u{06DF} ◌۟) over alif and waw (at least) looks like this:
image

Does anyone know how to get both these things to show correctly like they do on the quran.com site?

@rockneverdies55
Copy link
Owner

I guess this is all about the arabic font I have chosen. We can try a different one if you know a good arabic font that we can use.

@suryanto
Copy link

I tried to change the font with me_quran.

https://fontsgeek.com/fonts/me_quran-regular

It fixed the first issue, but it is not yet fixing the second issue.

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

No branches or pull requests

3 participants