i-Mātra in non-Devanāgarī scripts

Hello there, I am working on a Unicode standardized Śāradā font (a Kashmiri regional script, which is related to Devanāgarī, Bengali and other South Asian scripts). I would like to know, what I have to do exactly in order to have a proper akṣara construction with the i-Mātra.

Till now I have set anchor points both for simple consonant syllables as well as non-vocalized ligatures (on the left side of the glyph) and the i-Mātra (on the right side). I have defined the bases on which the i-Mātra shall be applied (within the Features > Prefix via markClass / feature mark / @BASE / @MARKS / table GDEF). I have tried nonspacing as well as Spacing Combined, and the latter seems to come close to what I want it to look like. The strange thing now is, that some additional space – I would need for the i-Mātra left of the glyph – remains as some empty space at the end of the syllable and the i-Mātra itself collides with the preceding syllable (see screenshot attached).Bildschirmfoto 2021-11-16 um 22.18.51

I hope, I was able to explain, what I am talking about here? Please let me know, if you need any further information, and thanks in advance :slight_smile:


Where are you testing this?

Can you send me the font and the sample document?

Hi Georg,

thank you. I’ve sent an email with sample text and font file



There are several things that can make your live much easier.

  • Use proper glyph names.
  • Do the mark positioning in the UI and not by writing feature code manually. Anchor defined in
    the glyph data can help with that.
  • I think, a lot of the ligatures are not needed. They only differ in spacing a bit. That could be solved differently. e.g. it would simply things a lot if you had a version of each glyph without the out stroke in the lower right. Then you can easier attach the mantras. And in the normal base glyph, you use the same component and add the out stroke-component. And everything is connected by anchors and auto alignment …
    I send you the file (I have played around with it bit) and a basic GlyphData file.