aboutsummaryrefslogtreecommitdiff
path: root/Tests/feaLib/data/GPOS_2.ttx
blob: 84dc81957cc070337ba913095b392c112db0d320 (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
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
<?xml version="1.0" encoding="UTF-8"?>
<ttFont>

  <GPOS>
    <Version value="0x00010000"/>
    <ScriptList>
      <!-- ScriptCount=1 -->
      <ScriptRecord index="0">
        <ScriptTag value="DFLT"/>
        <Script>
          <DefaultLangSys>
            <ReqFeatureIndex value="65535"/>
            <!-- FeatureCount=2 -->
            <FeatureIndex index="0" value="0"/>
            <FeatureIndex index="1" value="1"/>
          </DefaultLangSys>
          <!-- LangSysCount=0 -->
        </Script>
      </ScriptRecord>
    </ScriptList>
    <FeatureList>
      <!-- FeatureCount=2 -->
      <FeatureRecord index="0">
        <FeatureTag value="kern"/>
        <Feature>
          <!-- LookupCount=2 -->
          <LookupListIndex index="0" value="1"/>
          <LookupListIndex index="1" value="0"/>
        </Feature>
      </FeatureRecord>
      <FeatureRecord index="1">
        <FeatureTag value="vkrn"/>
        <Feature>
          <!-- LookupCount=1 -->
          <LookupListIndex index="0" value="2"/>
        </Feature>
      </FeatureRecord>
    </FeatureList>
    <LookupList>
      <!-- LookupCount=3 -->
      <Lookup index="0">
        <LookupType value="2"/>
        <LookupFlag value="0"/>
        <!-- SubTableCount=2 -->
        <PairPos index="0" Format="1">
          <Coverage>
            <Glyph value="v"/>
          </Coverage>
          <ValueFormat1 value="4"/>
          <ValueFormat2 value="0"/>
          <!-- PairSetCount=1 -->
          <PairSet index="0">
            <!-- PairValueCount=1 -->
            <PairValueRecord index="0">
              <SecondGlyph value="v"/>
              <Value1 XAdvance="14"/>
            </PairValueRecord>
          </PairSet>
        </PairPos>
        <PairPos index="1" Format="2">
          <Coverage>
            <Glyph value="D"/>
            <Glyph value="O"/>
            <Glyph value="Q"/>
          </Coverage>
          <ValueFormat1 value="4"/>
          <ValueFormat2 value="0"/>
          <ClassDef1>
          </ClassDef1>
          <ClassDef2>
            <ClassDef glyph="T" class="1"/>
            <ClassDef glyph="V" class="1"/>
            <ClassDef glyph="W" class="1"/>
          </ClassDef2>
          <!-- Class1Count=1 -->
          <!-- Class2Count=2 -->
          <Class1Record index="0">
            <Class2Record index="0">
            </Class2Record>
            <Class2Record index="1">
              <Value1 XAdvance="-26"/>
            </Class2Record>
          </Class1Record>
        </PairPos>
      </Lookup>
      <Lookup index="1">
        <LookupType value="2"/>
        <LookupFlag value="0"/>
        <!-- SubTableCount=2 -->
        <PairPos index="0" Format="1">
          <Coverage>
            <Glyph value="T"/>
            <Glyph value="X"/>
            <Glyph value="Y"/>
          </Coverage>
          <ValueFormat1 value="4"/>
          <ValueFormat2 value="0"/>
          <!-- PairSetCount=3 -->
          <PairSet index="0">
            <!-- PairValueCount=5 -->
            <PairValueRecord index="0">
              <SecondGlyph value="one"/>
              <Value1 XAdvance="100"/>
            </PairValueRecord>
            <PairValueRecord index="1">
              <SecondGlyph value="two"/>
              <Value1 XAdvance="200"/>
            </PairValueRecord>
            <PairValueRecord index="2">
              <SecondGlyph value="three"/>
              <Value1 XAdvance="300"/>
            </PairValueRecord>
            <PairValueRecord index="3">
              <SecondGlyph value="four"/>
              <Value1 XAdvance="400"/>
            </PairValueRecord>
            <PairValueRecord index="4">
              <SecondGlyph value="two.oldstyle"/>
              <Value1 XAdvance="200"/>
            </PairValueRecord>
          </PairSet>
          <PairSet index="1">
            <!-- PairValueCount=2 -->
            <PairValueRecord index="0">
              <SecondGlyph value="a"/>
              <Value1 XAdvance="100"/>
            </PairValueRecord>
            <PairValueRecord index="1">
              <SecondGlyph value="b"/>
              <Value1 XAdvance="200"/>
            </PairValueRecord>
          </PairSet>
          <PairSet index="2">
            <!-- PairValueCount=2 -->
            <PairValueRecord index="0">
              <SecondGlyph value="a"/>
              <Value1 XAdvance="100"/>
            </PairValueRecord>
            <PairValueRecord index="1">
              <SecondGlyph value="b"/>
              <Value1 XAdvance="200"/>
            </PairValueRecord>
          </PairSet>
        </PairPos>
        <PairPos index="1" Format="1">
          <Coverage>
            <Glyph value="Y"/>
          </Coverage>
          <ValueFormat1 value="15"/>
          <ValueFormat2 value="0"/>
          <!-- PairSetCount=1 -->
          <PairSet index="0">
            <!-- PairValueCount=1 -->
            <PairValueRecord index="0">
              <SecondGlyph value="c"/>
              <Value1 XPlacement="3" YPlacement="3" XAdvance="3" YAdvance="3"/>
            </PairValueRecord>
          </PairSet>
        </PairPos>
      </Lookup>
      <Lookup index="2">
        <LookupType value="2"/>
        <LookupFlag value="0"/>
        <!-- SubTableCount=1 -->
        <PairPos index="0" Format="1">
          <Coverage>
            <Glyph value="T"/>
          </Coverage>
          <ValueFormat1 value="8"/>
          <ValueFormat2 value="0"/>
          <!-- PairSetCount=1 -->
          <PairSet index="0">
            <!-- PairValueCount=1 -->
            <PairValueRecord index="0">
              <SecondGlyph value="one"/>
              <Value1 YAdvance="100"/>
            </PairValueRecord>
          </PairSet>
        </PairPos>
      </Lookup>
    </LookupList>
  </GPOS>

</ttFont>