Debian Codegraph @

tests/test135.pe

raw
1 New()
2
3 Select("A")
4 SetGlyphName("A")
5 SetWidth(100)
6
7 Select("B")
8 SetGlyphName("B")
9 SetWidth(100)
10
11 Select("C")
12 SetGlyphName("C")
13 SetWidth(100)
14
15 Select("D")
16 SetGlyphName("D")
17 SetWidth(100)
18
19 MergeFeature($1)
20
21 Select("A")
22 if (GlyphInfo("Class") != "base")
23 Error("Incorrect glyph class")
24 endif
25
26 Select("B")
27 if (GlyphInfo("Class") != "ligature")
28 Error("Incorrect glyph class")
29 endif
30
31 Select("C")
32 if (GlyphInfo("Class") != "mark")
33 Error("Incorrect glyph class")
34 endif
35
36 Select("D")
37 if (GlyphInfo("Class") != "component")
38 Error("Incorrect glyph class")
39 endif
40
41 Close()