lookup ccmp_arab_1 {
sub shadda-ar damma-ar by shaddaDamma-ar;
sub damma-ar shadda-ar by shaddaDamma-ar;
sub shadda-ar dammatan-ar by shaddaDammatan-ar;
sub dammatan-ar shadda-ar by shaddaDammatan-ar;
sub shadda-ar fatha-ar by shaddaFatha-ar;
sub fatha-ar shadda-ar by shaddaFatha-ar;
sub shadda-ar fathatan-ar by shaddaFathatan-ar;
sub fathatan-ar shadda-ar by shaddaFathatan-ar;
sub shadda-ar kasra-ar by shaddaKasra-ar;
sub kasra-ar shadda-ar by shaddaKasra-ar;
sub shadda-ar kasratan-ar by shaddaKasratan-ar;
sub kasratan-ar shadda-ar by shaddaKasratan-ar;
} ccmp_arab_1;
script arab;
lookup ccmp_arab_1;
But this is not a good way for mark positioning. Because in Arabic there are different levels of height. that will make mark too away from some glyphs.
As far as I can see, XD can’t display Arabic properly. That you get the base glyphs to show up properly is more than I got. With a similar string and “Adobe Arabic” I get his:
The same string in TextEdit
and Indesign
XD seems to do mark position for Latin glyphs but not mark-to-mark.
the font in TextEdit
Conclusion. Don’t test and use your fonts in XD. And maybe send them a bug report.