Arabic connection breaks when Discretionary Ligatures are ON

Hi everyone,

I have a small issue with my Arabic font. When I set the text to full justify in Adobe InDesign, the connection between hah-ar.init and the ligature dad_reh-ar.fina breaks. This only happens when Discretionary Ligatures are activated. If I turn them off, everything connects normally.

Anchors, joining types, and features look correct. The ligature itself works fine in other situations. The problem shows up only with full justification + discretionary ligatures.

Can you check in FontGoggles what happens when the dlig feature is activated?

Thanks @GeorgSeifert,

I solved it; that was because of tatweela (ــ).