Trouble w/ contextual alternates for a script style typeface

Hello everyone,

I’m (still) working on a script typeface of my own. Each lowercase has a different drawing corresponding to its location in a word/phrase. By default, a letter is median (in my font) and has no suffix. For the others, I used .init .fina and .iso. Here is the code I have in my contextual alternate feature :

lookup ISOLATED {
ignore sub @Medial@AllLetters, @AllLetters @Medial’;
sub @Medial’ by @Isolated;

lookup INITIAL {
ignore sub @AllLetters @Medial’;
sub @Medial’ by @Initial;

lookup FINAL {
ignore sub @Medial@AllLetters;
sub @Medial’ by @Final;

And since yesterday, when I export the font, InDesign seems not to care about the code I’m using. I’m using this code for an other script typeface, and for some reason, it works. Any idea on how to fix that?

Thanks a lot for taking the time with my problem.


PS -Also, forgot to tell, I’m using Glyphs 3.0.3 (3083)

  • when I set the language in arabic of a text box on indesign, it works

See here:

Make sure:

  • you press the compile button in the Features UI
  • contextual alternates are actually activated in InD
  • there are no separator (e.g. zero-width non-joiner) between the characters

So this is everything I did in order to make it work, so it’s quite weird.

I just double-checked all of that, and still, it does not work.

Can you please send me the .glyphs file to support (at) (this website without ‘www’ or ‘forum’). I will have a look.

Allow a day approx.

Thank you so much Rainer! Btw, great lecture last week, especially the more “nerdy” part at the end!

1 Like