Blame Tests/feaLib/data/GPOS_1.fea

rpm-build 6a2e4c
languagesystem DFLT dflt;
rpm-build 6a2e4c
rpm-build 6a2e4c
@sevenEightNine = [seven eight nine];
rpm-build 6a2e4c
rpm-build 6a2e4c
feature kern {
rpm-build 6a2e4c
    pos zero 0;
rpm-build 6a2e4c
rpm-build 6a2e4c
    pos [one two three] <-80 0 -160 0>;
rpm-build 6a2e4c
    pos A <1 2 3 4 <device 11 111, 12 112> <device 13 113, 14 114> <device 16 116> <device NULL>>;
rpm-build 6a2e4c
    pos B <1 2 3 4 <device 11 111, 12 112> <device 13 113, 14 114> <device 16 116> <device NULL>>;
rpm-build 6a2e4c
    pos C <1 2 3 4 <device 11 -2, 14 1> <device 13 -3, 15 1> <device 11 -8, 14 7> <device 13 8, 15 1>>;
rpm-build 6a2e4c
    pos four 400;
rpm-build 6a2e4c
    pos four.oldstyle 401;
rpm-build 6a2e4c
    pos five <-80 0 -160 0>;
rpm-build 6a2e4c
    pos six -200;
rpm-build 6a2e4c
    pos @sevenEightNine -100;
rpm-build 6a2e4c
rpm-build 6a2e4c
    pos P <1 0 800 0>;
rpm-build 6a2e4c
    pos Q <1 0 801 0>;
rpm-build 6a2e4c
    pos R <1 0 802 0>;
rpm-build 6a2e4c
    pos S <1 1 803 0>;
rpm-build 6a2e4c
    pos T <1 1 804 0>;
rpm-build 6a2e4c
    pos U <1 1 805 0>;
rpm-build 6a2e4c
rpm-build 6a2e4c
    # The AFDKO makeotf tool accepts re-definitions of previously defined
rpm-build 6a2e4c
    # single adjustment positionings, provided the re-definition is using
rpm-build 6a2e4c
    # the same value.  We replicate this behavior.
rpm-build 6a2e4c
    pos four 400;
rpm-build 6a2e4c
    pos four <0 0 400 0>;
rpm-build 6a2e4c
    pos nine -100;
rpm-build 6a2e4c
} kern;
rpm-build 6a2e4c
rpm-build 6a2e4c
# According to the OpenType Feature File specification section 2.e.iv,
rpm-build 6a2e4c
# the following should be interpreted as vertical advance adjustment
rpm-build 6a2e4c
# because -100 (a value record format A) appears within a ‘vkrn’ feature.
rpm-build 6a2e4c
# However, the AFDKO makeotf tool v2.0.90 (built on Nov 19, 2015) still
rpm-build 6a2e4c
# makes it a horizontal advance adjustment.  In our implementation,
rpm-build 6a2e4c
# we follow the specification, so we produce different output than makeotf.
rpm-build 6a2e4c
# https://github.com/adobe-type-tools/afdko/issues/85
rpm-build 6a2e4c
feature vkrn {
rpm-build 6a2e4c
    pos A -100;
rpm-build 6a2e4c
} vkrn;