Devanagari Issue with: `aiMatra-deva` and `eMatra-deva`


Certain glyphs with nuktas like: फ़ (fa-deva), and ज़ (za-deva) have the top anchor point set but when compiled and exported, the placement of these anchors is not maintained for aiMatra-deva and eMatra-deva (which have the _top anchor point).

Screen Shot 2020-11-20 at 7.04.30 PM

But, the result is:
Screen Shot 2020-11-20 at 7.08.20 PM

This happens for all except the lightest instance.

The lightest instance (weight: 300) get complied correctly:
Screen Shot 2020-11-20 at 7.11.11 PM

Any help is appreciated. Thanks.

What anchors do you have in the nukta glyph?

_nukta is the only anchor point in the nukta glyph.

And does it contain components?

Yeah. The nukta is a component (I am reusing anusvara-deva).
And anusvara-deva has these anchors: top, candra and _top.

Update: Decomposing the nukta glyph worked. :+1:

To understand, if reusing a glyph shape as component, do the anchor points get carried over as well?

Yes, the anchors should be carried through the component.

I think that this is changed in Glyphs 3. If a glyph has anchors of its own, it will not look for anchors in the components.