Closed ahmedre closed 9 years ago
Does it happen while generating using the Perl scripts or happen on the phone?
Also is it possible to use fonts instead of images for devices that can run it? I will gladly handle that.
actually wait - sorry, this is in the plain text that we show, not in the images. it's a bug in the font renderer in Android or something - the same thing looks fine on chrome on desktop, but it renders improperly on android.
2:4 is another example. we should try with a custom font and see if this problem still exists.
more examples - 2:125 (tahira) and 2:136 (nufariqu). this is still broken on Android M.
plan of action:
this is pretty important to fix since it is showing people incorrect things (even though the underlying data is correct, as can be seen on quran.com itself when viewing those same verses with the text with tashkeel option).
110:3 "rabbika" is another example.
tried many other fonts, none worked, but al7amdulillah, the qurancomplex hafs font (http://fonts.qurancomplex.gov.sa/?page_id=42) did work - patch incoming.
today, i learned, that this is actually not a bug - because the line is underneath the shadda, it's equivalent to a kasra. in either case, will keep the patch using the uthmani hafs font since it's probably better to use a specified font than to count on the various fonts used on people's devices.
the imlaei text (in translation view) for 4:6 has the tashkeel as ﺍﻟﻨِّﻜَﺎﺡَ instead of the correct tashkeel. the strange thing is, the data source is the same as we use for http://quran.com/4/6, which renders it correctly - however, if you try to copy/paste the word from there into here, for instance, the same problem will happen with the text.
looks like a possible font rendering bug, in which case i am not sure what (if anything) we can do about this. this maybe more reason to prioritize using uthmani text in translation view as well.