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

How to get info about Ayah positions in page, if available? #25

Open
osamana opened this issue May 22, 2018 · 1 comment
Open

How to get info about Ayah positions in page, if available? #25

osamana opened this issue May 22, 2018 · 1 comment

Comments

@osamana
Copy link

osamana commented May 22, 2018

I want to show the ayahs like this https://quran.com/18
I want to be able to render it just like the original Quran and highlight them.
thanks

@ahmedre
Copy link
Contributor

ahmedre commented May 22, 2018

the database has the character for each line and the positions relative to each line - so you can use the fonts (which exist in this repository) along with the data in the database to do it yourself, but we don't have an open source solution for generating this for you right now.

highlighting them is nothing special though - it's just applying a foreground or background on the span of the respective word.

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

2 participants