xref: /aosp_15_r20/external/fonttools/Tests/feaLib/data/spec6d2.fea (revision e1fe3e4ad2793916b15cccdc4a7da52a7e1dd0e9)
1# OpenType Feature File specification, section 6.d, example 1:
2# [GPOS LookupType 4] Mark-to-Base attachment positioning
3# http://www.adobe.com/devnet/opentype/afdko/topic_feature_file_syntax.html
4
5languagesystem DFLT dflt;
6
7markClass [acute grave] <anchor 150 -10> @TOP_MARKS;
8markClass [dieresis umlaut] <anchor 300 -10> @TOP_MARKS;
9markClass [cedilla] <anchor 300 600> @BOTTOM_MARKS;
10
11feature test {
12    pos base [e o]
13        <anchor 250 450> mark @TOP_MARKS
14        <anchor 250 -12> mark @BOTTOM_MARKS;
15#test-fea2fea: pos base [a u]
16    position base [a u]
17        <anchor 265 450> mark @TOP_MARKS
18        <anchor 250 -10> mark @BOTTOM_MARKS;
19} test;
20