Ligature only when alone

Hey! I did a font with an “he” ligature and I only want it to appear when “he” is standing as a single word. How is that possible?


From the Glyphs excellent tutorials, this:

The ligature should be substituted from an .init and a .fina shape. You might need some more code to make sure it doesn’t happen before a glyph that doesn’t connect to the previous glyph. You need an ignore statement for this.

After you read the tutorial George posted above, follow up with this one:

Look for the code for ‘isolated’ glyphs.