Features for Arabic Marks

Hey Guys,
would you please take a look at this?

lookup calt27 {
lookupflag IgnoreMarks RightToLeft;
sub alefMadda-ar’ [noon-ar.init @TMark] by alefMadda-ar.calt.001;
} calt27;

Here is the question, i just wanna apply this when Letter “Noon” comes with the “marks” but this script replace alefMadda-ar, even without any marks.

I do not understand. With or without marks? The IgnoreMarks flag completely ignores all marks.

what is the right flag?
here is the sample
آنُنس
I have a alternate for “alefMadda-ar” when “noon-ar.init” coms with the marks on top. how should I write the script just to be apply when letter " noon" has a mark on top?

lookup calt27 {
lookupflag IgnoreMarks RightToLeft;
sub alefMadda-ar’ [noon-ar.init @TMark] by alefMadda-ar.calt.001;
} calt27;

That means that your feature code will have to include marks, so you cannot use the IgnoreMarks flag. Delete that word. Leave the RightToLeft flag though :slight_smile:

Thanks, let me try it!

nope :frowning: actually its works but it effects “alefMadda-ar” even when “noon-ar.init” has no mark.

Then try this:

sub alefMadda-ar' noon-ar.init @TMark by alefMadda-ar.calt.001;

you are a savior :slight_smile: