quran / quran.com-api

Quran.com content APIs
https://api-docs.quran.foundation/docs/category/content-apis
MIT License
922 stars 192 forks source link

Showing circle with KFQC Hafs font #656

Open md-rifatkhan opened 8 months ago

md-rifatkhan commented 8 months ago

image

md-rifatkhan commented 8 months ago

or any alternative font that support end ayah symbol

HossamOkasha commented 5 months ago

+1

HossamOkasha commented 5 months ago

For a tmp solution, use text_uthmani_tajweed instead of text_uthmani

ATouhou commented 3 months ago

I use text_uthmani_tajweed and I get the same issue

ATouhou commented 3 months ago

I located the letter that was causing the issue in that font. My workaround for the KFQC Hafs font (until a permanent solution is provided) is:

function replaceArabicAlefWithSuperAlef($text) {
    return str_replace("ٲ", "ٰ", $text);
}

I hope this well help others @md-rifatkhan I did not check the entire quran data for any other errors.