aboutsummaryrefslogtreecommitdiff
path: root/Tests/otlLib/data/gsub_51.ttx
blob: f0aba65a6ad5bfe72fa94b20a7e3799e86391a4d (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
<?xml version="1.0" encoding="UTF-8"?>
<ttFont sfntVersion="\x00\x01\x00\x00" ttLibVersion="3.40">

  <GlyphOrder>
    <!-- The 'id' attribute is only for humans; it is ignored when parsed. -->
    <GlyphID id="0" name=".notdef"/>
    <GlyphID id="1" name="g20"/>
    <GlyphID id="2" name="g21"/>
    <GlyphID id="3" name="g22"/>
    <GlyphID id="4" name="g60"/>
    <GlyphID id="5" name="g61"/>
    <GlyphID id="6" name="g62"/>
    <GlyphID id="7" name="g63"/>
  </GlyphOrder>

  <maxp>
    <!-- Most of this table will be recalculated by the compiler -->
    <tableVersion value="0x10000"/>
    <numGlyphs value="8"/>
    <maxPoints value="0"/>
    <maxContours value="0"/>
    <maxCompositePoints value="0"/>
    <maxCompositeContours value="0"/>
    <maxZones value="2"/>
    <maxTwilightPoints value="0"/>
    <maxStorage value="0"/>
    <maxFunctionDefs value="0"/>
    <maxInstructionDefs value="0"/>
    <maxStackElements value="0"/>
    <maxSizeOfInstructions value="0"/>
    <maxComponentElements value="0"/>
    <maxComponentDepth value="0"/>
  </maxp>

  <post>
    <formatType value="2.0"/>
    <italicAngle value="0.0"/>
    <underlinePosition value="0"/>
    <underlineThickness value="0"/>
    <isFixedPitch value="0"/>
    <minMemType42 value="0"/>
    <maxMemType42 value="0"/>
    <minMemType1 value="0"/>
    <maxMemType1 value="0"/>
    <psNames>
      <!-- This file uses unique glyph names based on the information
           found in the 'post' table. Since these names might not be unique,
           we have to invent artificial names in case of clashes. In order to
           be able to retain the original information, we need a name to
           ps name mapping for those cases where they differ. That's what
           you see below.
            -->
    </psNames>
    <extraNames>
      <!-- following are the name that are not taken from the standard Mac glyph order -->
    </extraNames>
  </post>

  <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" Format="1">
          <Substitution in="g20" out="g60"/>
          <Substitution in="g21" out="g61"/>
        </SingleSubst>
      </Lookup>
      <Lookup index="1">
        <LookupType value="4"/>
        <LookupFlag value="0"/>
        <!-- SubTableCount=1 -->
        <LigatureSubst index="0" Format="1">
          <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" Format="1">
          <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" Format="1">
          <Substitution in="g21" out="g61,g62,g63"/>
        </MultipleSubst>
      </Lookup>
      <Lookup index="4">
        <LookupType value="5"/>
        <LookupFlag value="0"/>
        <!-- SubTableCount=1 -->
        <ContextSubst index="0" Format="1">
          <Coverage Format="1">
            <Glyph value="g20"/>
          </Coverage>
          <!-- SubRuleSetCount=1 -->
          <SubRuleSet index="0">
            <!-- SubRuleCount=1 -->
            <SubRule index="0">
              <!-- GlyphCount=2 -->
              <!-- SubstCount=0 -->
              <Input index="0" value="g20"/>
            </SubRule>
          </SubRuleSet>
        </ContextSubst>
      </Lookup>
    </LookupList>
  </GSUB>

</ttFont>