aboutsummaryrefslogtreecommitdiff
path: root/Tests/feaLib/data/aalt_chain_contextual_subst.ttx
blob: 256a9c72e371f08df8bb678d83a7c3a8d2f59bd1 (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
<?xml version="1.0" encoding="UTF-8"?>
<ttFont>

  <GSUB>
    <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="aalt"/>
        <Feature>
          <!-- LookupCount=1 -->
          <LookupListIndex index="0" value="0"/>
        </Feature>
      </FeatureRecord>
      <FeatureRecord index="1">
        <FeatureTag value="calt"/>
        <Feature>
          <!-- LookupCount=1 -->
          <LookupListIndex index="0" value="3"/>
        </Feature>
      </FeatureRecord>
    </FeatureList>
    <LookupList>
      <!-- LookupCount=4 -->
      <Lookup index="0">
        <LookupType value="1"/>
        <LookupFlag value="0"/>
        <!-- SubTableCount=1 -->
        <SingleSubst index="0">
          <Substitution in="n" out="n.end"/>
          <Substitution in="s" out="s.end"/>
        </SingleSubst>
      </Lookup>
      <Lookup index="1">
        <LookupType value="4"/>
        <LookupFlag value="0"/>
        <!-- SubTableCount=1 -->
        <LigatureSubst index="0">
          <LigatureSet glyph="c">
            <Ligature components="t" glyph="c_t"/>
          </LigatureSet>
          <LigatureSet glyph="f">
            <Ligature components="i" glyph="f_i"/>
          </LigatureSet>
        </LigatureSubst>
      </Lookup>
      <Lookup index="2">
        <LookupType value="1"/>
        <LookupFlag value="0"/>
        <!-- SubTableCount=1 -->
        <SingleSubst index="0">
          <Substitution in="n" out="n.end"/>
          <Substitution in="s" out="s.end"/>
        </SingleSubst>
      </Lookup>
      <Lookup index="3">
        <LookupType value="6"/>
        <LookupFlag value="0"/>
        <!-- SubTableCount=2 -->
        <ChainContextSubst index="0" Format="3">
          <!-- BacktrackGlyphCount=1 -->
          <BacktrackCoverage index="0">
            <Glyph value="a"/>
            <Glyph value="e"/>
            <Glyph value="i"/>
            <Glyph value="o"/>
            <Glyph value="u"/>
          </BacktrackCoverage>
          <!-- InputGlyphCount=3 -->
          <InputCoverage index="0">
            <Glyph value="f"/>
          </InputCoverage>
          <InputCoverage index="1">
            <Glyph value="i"/>
          </InputCoverage>
          <InputCoverage index="2">
            <Glyph value="n"/>
          </InputCoverage>
          <!-- LookAheadGlyphCount=0 -->
          <!-- SubstCount=2 -->
          <SubstLookupRecord index="0">
            <SequenceIndex value="0"/>
            <LookupListIndex value="1"/>
          </SubstLookupRecord>
          <SubstLookupRecord index="1">
            <SequenceIndex value="2"/>
            <LookupListIndex value="2"/>
          </SubstLookupRecord>
        </ChainContextSubst>
        <ChainContextSubst index="1" Format="3">
          <!-- BacktrackGlyphCount=1 -->
          <BacktrackCoverage index="0">
            <Glyph value="a"/>
            <Glyph value="e"/>
            <Glyph value="i"/>
            <Glyph value="o"/>
            <Glyph value="u"/>
          </BacktrackCoverage>
          <!-- InputGlyphCount=3 -->
          <InputCoverage index="0">
            <Glyph value="c"/>
          </InputCoverage>
          <InputCoverage index="1">
            <Glyph value="t"/>
          </InputCoverage>
          <InputCoverage index="2">
            <Glyph value="s"/>
          </InputCoverage>
          <!-- LookAheadGlyphCount=0 -->
          <!-- SubstCount=2 -->
          <SubstLookupRecord index="0">
            <SequenceIndex value="0"/>
            <LookupListIndex value="1"/>
          </SubstLookupRecord>
          <SubstLookupRecord index="1">
            <SequenceIndex value="2"/>
            <LookupListIndex value="2"/>
          </SubstLookupRecord>
        </ChainContextSubst>
      </Lookup>
    </LookupList>
  </GSUB>

</ttFont>