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 this example there is a glyph-class pair and an glyph-glyph exception, there is no reason to enumerate.
Compiling this with FDK results in a warning: Pair positioning has conflicting statements in standalone lookup 'kern_ltr'; choosing the first value: A B
Since this representation is convenient for generating a large number of specific pairs, it may be used even when some of the pairs generated by the enum rules are incorrect. Specific pairs generated by an enum rule may be overridden by specifying preceding single pairs. Because of this case, it is not an error when specific kern pairs conflict because they have the same glyphs. When specific kern pair rules conflict, the first rule specified is used, and later conflicting rule are skipped.
On the other hand it may be the case that treating these specific exception pairs as class kerning instead of enumerating them as glyph-to-glyph could produce a more compact encoding, but that's not guaranteed in all cases.
If one wants to avoid this, one can wrap the single glyph in a group, in which case ufo2ft will treat the pairs as class kerning as desired.
This was a trade-off for simplicity, but I am open to review PRs in that direction.
see https://adobe-type-tools.github.io/afdko/OpenTypeFeatureFileSpecification.html#6.b.ii
in this example there is a glyph-class pair and an glyph-glyph exception, there is no reason to enumerate.
Compiling this with FDK results in a warning:
Pair positioning has conflicting statements in standalone lookup 'kern_ltr'; choosing the first value: A B
ufo2fdk has a method to determine if a higher level pair is possible which is solving this issue.
The text was updated successfully, but these errors were encountered: