New ligatures not working correctly

Get help with FontCreator here. Please do not post feature requests or bug reports here.
Post Reply
Dan Kreider
Posts: 101
Joined: Thu Mar 25, 2021 8:35 pm

New ligatures not working correctly

Post by Dan Kreider »

It's been a long time since I did this, so perhaps I am missing something.

I've returned to an old font to add some ligatures. The one I want to add here is at_3_h.liga.

When I create it, and run the OpenType Designer script, you can see it's still not creating the ligature. What am I missing?

Thanks.
ligature.png
ligature.png (178.23 KiB) Viewed 129 times
Dan Kreider
Music engraving and hymnal publishing
dankreider.com
hymnworks.com
Erwin Denissen
Moderator
Moderator
Posts: 11195
Joined: Fri Oct 04, 2002 12:41 am
Location: Bilthoven, The Netherlands
Contact:

Re: New ligatures not working correctly

Post by Erwin Denissen »

I see two lookups with ligatures, so I suspect the first one has applied the rule to substitute at three -> at_three.liga
Then your second lookup no longer has a match for at three h.

I assume both lookups have mostly identical substitutions, so most likely deleting lookup Ligature1 solves the problem.
Erwin Denissen
High-Logic
Proven Font Technology
Dan Kreider
Posts: 101
Joined: Thu Mar 25, 2021 8:35 pm

Re: New ligatures not working correctly

Post by Dan Kreider »

Thanks, that makes sense. Unfortunately I need that ligature as well. How can I have both?
Dan Kreider
Music engraving and hymnal publishing
dankreider.com
hymnworks.com
Erwin Denissen
Moderator
Moderator
Posts: 11195
Joined: Fri Oct 04, 2002 12:41 am
Location: Bilthoven, The Netherlands
Contact:

Re: New ligatures not working correctly

Post by Erwin Denissen »

You should combine the two lookups into one.

Easiest is to open Ligature1 in the code editor (in fea mode) and then copy the "sub"lines.

Next open the other lookup in the code editor and paste the lines, and recompile.

That should merge the two, so then you can delete Ligature1.
Erwin Denissen
High-Logic
Proven Font Technology
Post Reply