Contextual anchors look at what came before. How can I use them for what comes forward?
Can you explain what you mean?
If I have peh.init and next glyph reh.fina then I need contextual anchor to move default anchor to new position on peh.init.
No I get it. You can do context in both directions.
The context anchor string contains a *
. That is “mark” in the context. So I think your context would be: * reh.fina
.
Nope. Not both directions
In Arabic contextual anchor looks what comes before not after
For example in Arabic if I have peh.init with contextual anchor then reh.fina, contextual anchor didn’t work with reh.fina
Of course it works if ref.fina comes first then peh.init
(contextual anchor is in peh.init)
پر not work
ـرپـ work’s
Can you show your peh.init and what exactly your string of characters is you try to make work?
You need to add mark filtering. This would be the correct
lookupflag UseMarkFilteringSet @AnchorClass; * reh.fina;
Can you send me your font that I can try to get it to work?
sent
Remamber: I want use contextual anchor for next glyph not previous glyph
If پـ has contextual anchor رپـ works but پر not working and I want this one
Use *top and *bottom when the next glyph is reh-ar.fina
I know this combination is working when reh-ar.fina comes first, and peh-ar.init is next
Can you send me the exact string your are using for testing? Because in the string you gave above, there is no mark, so the anchors don’t do anything.
What exactly are you trying to achieve?
See if it’s enough
پِرسونا
Try to move the mark as you see
You need to add a class with all below marks in the Font Info > Features.
I called it “MarkBelow” and added the “kasra-ar”. Then the context in the peh needs to be:
lookupflag UseMarkFilteringSet @MarkBelow; * reh-ar.fina
Thats not work
Please look at the picture
I need kasra moves when reh.fina places after peh.init
your code works when reh.fina place before peh.init
I sent the font file Please check on it and export ttf file, you will see how it work!
Yes, it works. Thank you very much!