xref: /aosp_15_r20/external/fonttools/Tests/feaLib/data/spec6h_ii.fea (revision e1fe3e4ad2793916b15cccdc4a7da52a7e1dd0e9)
1# OpenType Feature File specification, section 6.h.ii:
2# Specifying Contextual Positioning with explicit lookup references
3# http://www.adobe.com/devnet/opentype/afdko/topic_feature_file_syntax.html
4
5languagesystem DFLT dflt;
6
7markClass [acute grave] <anchor 150 -10> @ALL_MARKS;
8
9lookup CNTXT_PAIR_POS {
10    pos T o -10;
11    pos T c -12;
12} CNTXT_PAIR_POS;
13
14lookup CNTXT_MARK_TO_BASE {
15    pos base o
16        <anchor 250 450> mark @ALL_MARKS;
17    pos base c
18        <anchor 250 450> mark @ALL_MARKS;
19} CNTXT_MARK_TO_BASE;
20
21feature test {
22    pos T' lookup CNTXT_PAIR_POS [o c]' @ALL_MARKS' lookup CNTXT_MARK_TO_BASE;
23} test;
24