Posted by:
MeorRidzuan Hi,
What project are you working on?
Anyway, you may want to look at my font at
http://arabicfonts.wikispaces.com/. I would say the font implemented 100% of the Madinah mushaf, but of course not 100% unicode compliant.
We have discuss this issues at length at arabeyes long time ago. My view on this is, as long as Unicode does not define it (either by adding new character or additional definition), we will never have a uniform implementation of the glyph.
I have tried 3 different approach to the problem:
1. Define fatha+fatha to be the second type of fathatan. The problem with this is, MS define this sequence as illegal, so it won't work in MS platform. ( I don't remember, but it might work on pango based apps).
2. Create a lookup using CALT (contextual alternatives), which is in my opinion, the most correct approach. I did succeed to some extend, but the problem is, I just can't imagine to create the necessary lookup to make it exactly the same as the print edition. You may need to create more than 50 lookup just for this particular glyph (for a simple rule within a word, it easy, but it becomes more complicated when you need to consider multiple words where you need to take space into consideration)
3. Adding a modifier to the text, which eventually what is being implemented in the font above. The approach I use is, for fathatan and kasratan, I add small meem below. For dammatan, I add small meem above. This will not create a confusion because the above sequence does not exist anywhere, yet it does not break in Uniscribe implementation. Once The issues are settled, I can replace the above sequence with the correct character.
Hope this help.