aboutsummaryrefslogtreecommitdiff
path: root/Tests/ttLib/tables/data/aots/gsub_context2_classes_f2.ttx.GSUB
blob: 4de5bc626254a4f4f4e47aae7479913082cf38d5 (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
<?xml version="1.0" encoding="UTF-8"?>
<ttFont sfntVersion="OTTO" ttLibVersion="3.5">

  <GSUB>
    <Version value="0x00010000"/>
    <ScriptList>
      <!-- ScriptCount=1 -->
      <ScriptRecord index="0">
        <ScriptTag value="latn"/>
        <Script>
          <DefaultLangSys>
            <ReqFeatureIndex value="65535"/>
            <!-- FeatureCount=1 -->
            <FeatureIndex index="0" value="0"/>
          </DefaultLangSys>
          <!-- LangSysCount=0 -->
        </Script>
      </ScriptRecord>
    </ScriptList>
    <FeatureList>
      <!-- FeatureCount=1 -->
      <FeatureRecord index="0">
        <FeatureTag value="test"/>
        <Feature>
          <!-- LookupCount=1 -->
          <LookupListIndex index="0" value="4"/>
        </Feature>
      </FeatureRecord>
    </FeatureList>
    <LookupList>
      <!-- LookupCount=5 -->
      <Lookup index="0">
        <LookupType value="1"/>
        <LookupFlag value="0"/>
        <!-- SubTableCount=1 -->
        <SingleSubst index="0">
          <Substitution in="g20" out="g60"/>
          <Substitution in="g21" out="g61"/>
          <Substitution in="g22" out="g62"/>
          <Substitution in="g23" out="g63"/>
          <Substitution in="g24" out="g64"/>
          <Substitution in="g25" out="g65"/>
          <Substitution in="g26" out="g66"/>
          <Substitution in="g27" out="g67"/>
          <Substitution in="g28" out="g68"/>
          <Substitution in="g29" out="g69"/>
        </SingleSubst>
      </Lookup>
      <Lookup index="1">
        <LookupType value="4"/>
        <LookupFlag value="0"/>
        <!-- SubTableCount=1 -->
        <LigatureSubst index="0">
          <LigatureSet glyph="g21">
            <Ligature components="g22" glyph="g61"/>
          </LigatureSet>
        </LigatureSubst>
      </Lookup>
      <Lookup index="2">
        <LookupType value="4"/>
        <LookupFlag value="8"/><!-- ignoreMarks -->
        <!-- SubTableCount=1 -->
        <LigatureSubst index="0">
          <LigatureSet glyph="g21">
            <Ligature components="g22" glyph="g61"/>
          </LigatureSet>
        </LigatureSubst>
      </Lookup>
      <Lookup index="3">
        <LookupType value="2"/>
        <LookupFlag value="0"/>
        <!-- SubTableCount=1 -->
        <MultipleSubst index="0">
          <Substitution in="g21" out="g61,g62,g63"/>
        </MultipleSubst>
      </Lookup>
      <Lookup index="4">
        <LookupType value="5"/>
        <LookupFlag value="0"/>
        <!-- SubTableCount=1 -->
        <ContextSubst index="0" Format="2">
          <Coverage>
            <Glyph value="g20"/>
            <Glyph value="g21"/>
            <Glyph value="g22"/>
            <Glyph value="g24"/>
          </Coverage>
          <ClassDef>
            <ClassDef glyph="g20" class="1"/>
            <ClassDef glyph="g21" class="1"/>
            <ClassDef glyph="g22" class="1"/>
            <ClassDef glyph="g24" class="3"/>
            <ClassDef glyph="g26" class="2"/>
            <ClassDef glyph="g27" class="2"/>
            <ClassDef glyph="g28" class="2"/>
            <ClassDef glyph="g29" class="2"/>
          </ClassDef>
          <!-- SubClassSetCount=4 -->
          <SubClassSet index="0" empty="1"/>
          <SubClassSet index="1">
            <!-- SubClassRuleCount=1 -->
            <SubClassRule index="0">
              <!-- GlyphCount=4 -->
              <!-- SubstCount=1 -->
              <Class index="0" value="2"/>
              <Class index="1" value="2"/>
              <Class index="2" value="3"/>
              <SubstLookupRecord index="0">
                <SequenceIndex value="1"/>
                <LookupListIndex value="0"/>
              </SubstLookupRecord>
            </SubClassRule>
          </SubClassSet>
          <SubClassSet index="2" empty="1"/>
          <SubClassSet index="3">
            <!-- SubClassRuleCount=1 -->
            <SubClassRule index="0">
              <!-- GlyphCount=4 -->
              <!-- SubstCount=1 -->
              <Class index="0" value="3"/>
              <Class index="1" value="2"/>
              <Class index="2" value="1"/>
              <SubstLookupRecord index="0">
                <SequenceIndex value="2"/>
                <LookupListIndex value="0"/>
              </SubstLookupRecord>
            </SubClassRule>
          </SubClassSet>
        </ContextSubst>
      </Lookup>
    </LookupList>
  </GSUB>

</ttFont>