Gap on an arabic letter in InDesign


I have a issue with an -qaf-ar.medi : there is a gap when I use it InDesign while all it’s good in Glyphs :



It’s the same issue with -fehDotless-ar.medi (so it is the problem I think).

Thank you :))

Can you check the path direction in those glyphs.

Are you using TTF exports, and are you using components within components?

And do not use (auto)hinting.