You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In addition, when ignore rsub is used together with another rsub rule, this leads to weird behavior that’s hard to understand:
If the two rules are inside a lookup block, makeotf reports a bug Error: "Lookup type different from previous rules in this lookup block" in Feature mark in line: xx. As usual with makeotf, xx is far far from the location of the code that it misunderstands.
If the two rules are outside a lookup block, makeotf doesn’t complain, but quietly packages them in two separate lookups, thus defeating the purpose of the ignore rule.
Both of these would be manifestations of the same root issue, since makeotf is effectively parsing ignore rsub as ignore sub which can’t be mixed with rsub in same lookup as there are different types.
The code was unconditionally overriding the lookup type to become
Chaining Contextual Substitution, instead do it only if it is not
Reverse Chaining Contextual Substitution.
Fixes#992
Not sure if this intentional or not, but
ignore rsub
produces the same lookup asignore sub
. The following two lookups:Produce:
The text was updated successfully, but these errors were encountered: