[feaLib] adjust test data to changes in builder.LookupBuilder

'LookupList' elements now contains 'Lookup' elements, in turn containing one or more lookup subtables
This commit is contained in:
Cosimo Lupo 2015-09-09 18:21:33 +01:00
parent df06ce4981
commit d89bcd422d
5 changed files with 183 additions and 128 deletions

View File

@ -37,6 +37,10 @@
</FeatureList>
<LookupList>
<!-- LookupCount=1 -->
<Lookup index="0">
<!-- LookupType=3 -->
<LookupFlag value="0"/>
<!-- SubTableCount=1 -->
<AlternateSubst index="0" Format="1">
<AlternateSet glyph="A">
<Alternate glyph="A.alt1"/>
@ -51,6 +55,7 @@
<Alternate glyph="C.alt1"/>
</AlternateSet>
</AlternateSubst>
</Lookup>
</LookupList>
</GSUB>

View File

@ -70,22 +70,41 @@
</FeatureList>
<LookupList>
<!-- LookupCount=4 -->
<Lookup index="0">
<!-- LookupType=4 -->
<LookupFlag value="0"/>
<!-- SubTableCount=1 -->
<LigatureSubst index="0" Format="1">
<LigatureSet glyph="D">
<Ligature components="D,E,U" glyph="D_E_U"/>
</LigatureSet>
</LigatureSubst>
<LigatureSubst index="1" Format="1">
</Lookup>
<Lookup index="1">
<!-- LookupType=4 -->
<LookupFlag value="0"/>
<!-- SubTableCount=1 -->
<LigatureSubst index="0" Format="1">
<LigatureSet glyph="F">
<Ligature components="F,R,A" glyph="D_E_U"/>
</LigatureSet>
</LigatureSubst>
<LigatureSubst index="2" Format="1">
</Lookup>
<Lookup index="2">
<!-- LookupType=4 -->
<LookupFlag value="0"/>
<!-- SubTableCount=1 -->
<LigatureSubst index="0" Format="1">
<LigatureSet glyph="I">
<Ligature components="I,T,A" glyph="I_T_A"/>
</LigatureSet>
</LigatureSubst>
<SingleSubst index="3">
</Lookup>
<Lookup index="3">
<!-- LookupType=1 -->
<LookupFlag value="0"/>
<!-- SubTableCount=1 -->
<SingleSubst index="0">
<Substitution in="a" out="A.sc"/>
<Substitution in="b" out="B.sc"/>
<Substitution in="c" out="C.sc"/>
@ -113,6 +132,7 @@
<Substitution in="y" out="Y.sc"/>
<Substitution in="z" out="Z.sc"/>
</SingleSubst>
</Lookup>
</LookupList>
</GSUB>

View File

@ -81,6 +81,10 @@
</FeatureList>
<LookupList>
<!-- LookupCount=4 -->
<Lookup index="0">
<!-- LookupType=1 -->
<LookupFlag value="0"/>
<!-- SubTableCount=1 -->
<SingleSubst index="0">
<Substitution in="a" out="A.sc"/>
<Substitution in="b" out="B.sc"/>
@ -109,25 +113,41 @@
<Substitution in="y" out="Y.sc"/>
<Substitution in="z" out="Z.sc"/>
</SingleSubst>
<LigatureSubst index="1" Format="1">
</Lookup>
<Lookup index="1">
<!-- LookupType=4 -->
<LookupFlag value="0"/>
<!-- SubTableCount=1 -->
<LigatureSubst index="0" Format="1">
<LigatureSet glyph="f">
<Ligature components="f,f" glyph="f_f"/>
<Ligature components="f,i" glyph="f_i"/>
<Ligature components="f,l" glyph="f_l"/>
</LigatureSet>
</LigatureSubst>
<LigatureSubst index="2" Format="1">
</Lookup>
<Lookup index="2">
<!-- LookupType=4 -->
<LookupFlag value="0"/>
<!-- SubTableCount=1 -->
<LigatureSubst index="0" Format="1">
<LigatureSet glyph="c">
<Ligature components="c,s" glyph="c_s"/>
<Ligature components="c,t" glyph="c_t"/>
</LigatureSet>
</LigatureSubst>
<LigatureSubst index="3" Format="1">
</Lookup>
<Lookup index="3">
<!-- LookupType=4 -->
<LookupFlag value="0"/>
<!-- SubTableCount=1 -->
<LigatureSubst index="0" Format="1">
<LigatureSet glyph="c">
<Ligature components="c,h" glyph="c_h"/>
<Ligature components="c,k" glyph="c_k"/>
</LigatureSet>
</LigatureSubst>
</Lookup>
</LookupList>
</GSUB>

View File

@ -37,6 +37,10 @@
</FeatureList>
<LookupList>
<!-- LookupCount=1 -->
<Lookup index="0">
<!-- LookupType=4 -->
<LookupFlag value="0"/>
<!-- SubTableCount=1 -->
<LigatureSubst index="0" Format="1">
<LigatureSet glyph="one">
<Ligature components="one,fraction,two" glyph="onehalf"/>
@ -51,6 +55,7 @@
<Ligature components="one.oldstyle,slash,two.oldstyle" glyph="onehalf"/>
</LigatureSet>
</LigatureSubst>
</Lookup>
</LookupList>
</GSUB>

View File

@ -37,6 +37,10 @@
</FeatureList>
<LookupList>
<!-- LookupCount=1 -->
<Lookup index="0">
<!-- LookupType=4 -->
<LookupFlag value="0"/>
<!-- SubTableCount=1 -->
<LigatureSubst index="0" Format="1">
<LigatureSet glyph="f">
<Ligature components="f,f,i" glyph="f_f_i"/>
@ -47,6 +51,7 @@
<Ligature components="o,f,f,i" glyph="o_f_f_i"/>
</LigatureSet>
</LigatureSubst>
</Lookup>
</LookupList>
</GSUB>