Skip to content

Conversation

hkamran2
Copy link
Contributor

@hkamran2 hkamran2 commented Feb 26, 2025

Problem

When using the text_indopak field the API doesn't return the surah ending characters correctly.

image

Solution

Add support for the text_indopak_nastaleeq field that the API supports. This field, instead of the text_indopak, is useful when the using the nastaleeq font as it correctly provides each verse's end characters.

image

Note

I've not introduce text_indopak_nastaleeq for the Word fields type. Looking at the API, I think that's not supported (which makes complete sense) and hence, I've just added it for the text field.

The SDK currently does not support the text_indopak_nastaleeq field. This field, instead of the text_indopak, is useful when the using the nastaleeq font as it correctly provides each verse's end characters.
Copy link

vercel bot commented Feb 26, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
api ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 26, 2025 11:06pm

@ahmedriad1
Copy link
Member

Really sorry for the late reply, I totally forgot! The PR makes sense JAK, merging now.

@ahmedriad1 ahmedriad1 merged commit 8da0a98 into quran:dev Jun 18, 2025
1 check passed
Copy link

🎉 This PR is included in version 1.8.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

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

Successfully merging this pull request may close these issues.

2 participants