quran / quran.com-frontend-next

Frontend build on next.js
https://quran.com
1.31k stars 381 forks source link

[bug]: Incorrect Spelling of Word in Verse 3:170 in V2 Font #2114

Open oshoubber opened 3 months ago

oshoubber commented 3 months ago

Is there an existing issue for this?

Describe the bug

In Surah Ali 'Imran, verse 170, there is a spelling error for the word "بما ءاتاهم", evident by the word-by-word hover, only on the King Fahad V2 Complex. The hamza should be on "ءاتاهم", not "بما".

Incorrect (King Fahad V2)

image

Correct (King Fahad V1)

image

Correct (QPC Uthmani Hafs)

image

I wanted to put up a PR to fix this, but I'm having trouble navigating the code base for the first time.

Relevant log output

No response

Steps to reproduce

  1. Set Font to King Fahad Complex V2
  2. Go to https://quran.com/en/ali-imran/170
  3. Notice incorrect spelling, and therefore word-by-word highlighting

Environment (please complete the following information) and Add any other context about this bug

OS: Web (Chrome & Safari)

Environment

Production(quran.com)