I've done lots of backtrack CALT's successfully, but I'm trying a lookahead. However, I can't get it to work.
I press the "n" which gives me a natural sign. When I then type a numeral, it should make the natural superscript, but it does not.
What am I missing? Maybe I'm not understanding "lookahead" correctly. I don't want anything for the backtrack because I want this to work no matter what comes before the "n." Thanks!
Can't get lookahead CALT to work
-
- Posts: 99
- Joined: Thu Mar 25, 2021 8:35 pm
Can't get lookahead CALT to work
Dan Kreider
Music engraving and hymnal publishing
dankreider.com
hymnworks.com
Music engraving and hymnal publishing
dankreider.com
hymnworks.com
-
- Posts: 99
- Joined: Thu Mar 25, 2021 8:35 pm
Re: Can't get lookahead CALT to work
By the way, I thought you might like to see some samples of what I'm using this new font for. Except for the notes on the staff, everything else was typed in using simple, intuitive key combinations.
Dan Kreider
Music engraving and hymnal publishing
dankreider.com
hymnworks.com
Music engraving and hymnal publishing
dankreider.com
hymnworks.com
-
- Moderator
- Posts: 11160
- Joined: Fri Oct 04, 2002 12:41 am
- Location: Bilthoven, The Netherlands
- Contact:
Re: Can't get lookahead CALT to work
The lookup is not attached to a feature yet, hence " <-not used ".Dan Kreider wrote: ↑Fri Apr 30, 2021 7:05 pm What am I missing? Maybe I'm not understanding "lookahead" correctly. I don't want anything for the backtrack because I want this to work no matter what comes before the "n." Thanks!
-
- Posts: 99
- Joined: Thu Mar 25, 2021 8:35 pm
Re: Can't get lookahead CALT to work
Got it, thanks! I just needed to drag the CALT into the ltn script.
So it seems that CALT lookups are not features until they're applied to one of the scripts? Am I saying that correctly?
Also, it seems that Single Substitutions are grouped as lookups, but I don't see them in the dflt or ltn scripts.
So it seems that CALT lookups are not features until they're applied to one of the scripts? Am I saying that correctly?
Also, it seems that Single Substitutions are grouped as lookups, but I don't see them in the dflt or ltn scripts.
Dan Kreider
Music engraving and hymnal publishing
dankreider.com
hymnworks.com
Music engraving and hymnal publishing
dankreider.com
hymnworks.com
-
- Moderator
- Posts: 11160
- Joined: Fri Oct 04, 2002 12:41 am
- Location: Bilthoven, The Netherlands
- Contact:
Re: Can't get lookahead CALT to work
OpenType features in a font will be applied if the shaping engine decides to process one or more features. Then all lookups within those features are applied, in general in the order of the lookups, as shown in the Lookups tree, from top to bottom.