aboutsummaryrefslogtreecommitdiff
path: root/Tests/feaLib/data/spec6h_ii.fea
blob: 690d2a3539e0271bebb437faeea2d248d2b72f43 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# OpenType Feature File specification, section 6.h.ii:
# Specifying Contextual Positioning with explicit lookup references
# http://www.adobe.com/devnet/opentype/afdko/topic_feature_file_syntax.html

languagesystem DFLT dflt;

markClass [acute grave] <anchor 150 -10> @ALL_MARKS;

lookup CNTXT_PAIR_POS {
    pos T o -10;
    pos T c -12;
} CNTXT_PAIR_POS;
 
lookup CNTXT_MARK_TO_BASE {
    pos base o
        <anchor 250 450> mark @ALL_MARKS;
    pos base c
        <anchor 250 450> mark @ALL_MARKS;
} CNTXT_MARK_TO_BASE;

feature test {
    pos T' lookup CNTXT_PAIR_POS [o c]' @ALL_MARKS' lookup CNTXT_MARK_TO_BASE;
} test;