xref: /aosp_15_r20/external/fonttools/Tests/feaLib/data/bug514.fea (revision e1fe3e4ad2793916b15cccdc4a7da52a7e1dd0e9)
1# The many chain targets for this feature should get combined into
2# two separate SinglePos lookups: {A:-40, B:-40, C:-40} and {A:-111}.
3# https://github.com/fonttools/fonttools/issues/514
4#
5# makeotf produces {A:-40, B:-40, C:-40} and {A:-111, B:-40} which
6# is redundant. https://github.com/adobe-type-tools/afdko/issues/169
7feature test {
8    pos X [A - B]' -40 B' -40 A' -40 Y;
9    pos X A' -111 Y;
10    pos X B' -40 A' -111 [A - C]' -40 Y;
11} test;
12