aboutsummaryrefslogtreecommitdiff
path: root/Tests/feaLib/data/lookupflag.fea
blob: 1828c43ed3423ddc8feb2c0282f45efab0c65ad8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
languagesystem DFLT dflt;

@TOP_MARKS = [acute grave macron];
markClass [cedilla ogonek] <anchor 350 -20> @BOTTOM_MARKS;
@FRENCH_MARKS = [acute grave cedilla dieresis circumflex];
@MARKS_WITH_DUPLICATES = [breve caron umlaut breve caron umlaut];

lookup A {
    lookupflag RightToLeft;
    pos one 1;
} A;

lookup B {
    lookupflag IgnoreBaseGlyphs;
    pos two 2;
} B;

lookup C {
    lookupflag IgnoreLigatures;
    pos four 4;
} C;

lookup D {
#test-fea2fea: lookupflag RightToLeft IgnoreBaseGlyphs IgnoreLigatures;
    lookupflag 7;
    pos seven 7;
} D;

lookup E {
    lookupflag IgnoreMarks;
    pos eight 8;
} E;

lookup F {
    lookupflag MarkAttachmentType @TOP_MARKS;
    pos F 1;
} F;

lookup G {
    lookupflag MarkAttachmentType @BOTTOM_MARKS;
    pos G 1;
} G;

lookup H {
    lookupflag IgnoreLigatures MarkAttachmentType @TOP_MARKS;
    pos H 1;
} H;

lookup I {
    lookupflag UseMarkFilteringSet @TOP_MARKS;
    pos I 1;
} I;

lookup J {
    # @FRENCH_MARKS overlaps with @TOP_MARKS.
    # Other than with MarkAttachmentType, the same glyph may appear
    # in multiple glyphsets for UseMarkFilteringSet. Make sure that
    # our implementation can handle this.
    lookupflag UseMarkFilteringSet @FRENCH_MARKS;
    pos J 1;
} J;

lookup K {
    lookupflag IgnoreLigatures UseMarkFilteringSet @TOP_MARKS;
    pos K 1;
} K;

lookup L {
    pos L 1;
} L;

lookup M {
    lookupflag UseMarkFilteringSet @MARKS_WITH_DUPLICATES;
    pos M 1;
} M;

lookup N {
    lookupflag MarkAttachmentType @MARKS_WITH_DUPLICATES;
    pos N 1;
} N;

feature test {
    lookup A;
    lookup B;
    lookup C;
    lookup D;
    lookup E;
    lookup F;
    lookup G;
    lookup H;
    lookup I;
    lookup J;
    lookup K;
    lookup L;
    lookup M;
    lookup N;
} test;

feature test {
    lookupflag IgnoreMarks;
    lookup O {
        pos one 1;
    } O;
    lookup P {
       pos one 1;
    } P;
} test;

feature test {
    lookup Q {
         pos one 1;
    } Q;
    lookup R {
         pos one 1;
    } R;
} test;

feature test {
    lookup S {
        lookupflag IgnoreMarks;
        pos one 1;
    } S;
    lookup T {
        pos one 1;
    } T;
} test;

feature test {
    lookup U {
        pos one 1;
    } U;
    lookup V {
        lookupflag IgnoreMarks;
        pos one 1;
    } V;
} test;

feature test {
    lookup W {
        lookupflag IgnoreMarks;
        script latn;
        pos one 1;
    } W;
    lookup X {
        lookupflag IgnoreMarks;
        script latn;
        pos two 2;
    } X;
} test;