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