frrahat / Quran-For-My-Android

"Quran For My Android" is a simple app that gives quick access to the verses of The Quran with different translation texts and word by word translation.
Apache License 2.0
26 stars 12 forks source link

New Quranic fonts cause secondary font render bug #14

Open HassanHeydariNasab opened 8 years ago

HassanHeydariNasab commented 8 years ago

When I set me_quran or amiri-quran for Arabic font (Primary font), the secondary text gets buggy! for example, the spaces between English words disappear and Persian text gets arabic font (even when I set another font for Persian). Quranic fonts are very buggy for Persian! Thanks a lot!

frrahat commented 8 years ago

Assalamu 'Alaikum, brother. Thank you for your participation.

Actually, in this current version (also in the previous versions as well) the selected font is applied both to primary and secondary text. So that, when we change the font we will see changes both in primary and secondary text. As a result, when you select me_quran for Arabic, me_quran is automatically set for English or Persian text as they are secondary text. It is a limitation of functionalities of this app and I have tried to express this message under "Fonts" section in "HELP" menu item in this way:

"...Note that, selected font is applied only to the selected 'Primary Text' not the 'Secondary Text'. So, font that can display both the primary text and the secondary text is the best choice."

Here, unfortunately I have mistaken in the first line quoted above (Correct sentence will be : "...Note that, selected font is applied to both the 'Primary Text' and the 'Secondary Text'. ...")

By the way, as I think, it is creating problems for the readers, in sha Allah, I will try to find a way out to keep the fonts of the texts separately in the next release. Jazak Allahu Khairan.