[feaLib] Do not set LigatureSubst.Format

This commit is contained in:
Sascha Brawer 2016-01-14 11:06:11 +01:00
parent 3dec54f24a
commit 1bffd6b872
11 changed files with 15 additions and 16 deletions

View File

@ -987,7 +987,6 @@ class LigatureSubstBuilder(LookupBuilder):
def build(self): def build(self):
subtable = otlBuilder.buildLigatureSubst(self.ligatures) subtable = otlBuilder.buildLigatureSubst(self.ligatures)
subtable.Format = 1
return self.buildLookup_([subtable]) return self.buildLookup_([subtable])

View File

@ -192,7 +192,7 @@
<!-- LookupType=4 --> <!-- LookupType=4 -->
<LookupFlag value="0"/> <LookupFlag value="0"/>
<!-- SubTableCount=1 --> <!-- SubTableCount=1 -->
<LigatureSubst index="0" Format="1"> <LigatureSubst index="0">
<LigatureSet glyph="C"> <LigatureSet glyph="C">
<Ligature components="T" glyph="c_t"/> <Ligature components="T" glyph="c_t"/>
<Ligature components="t" glyph="c_t"/> <Ligature components="t" glyph="c_t"/>

View File

@ -89,7 +89,7 @@
<!-- LookupType=4 --> <!-- LookupType=4 -->
<LookupFlag value="0"/> <LookupFlag value="0"/>
<!-- SubTableCount=1 --> <!-- SubTableCount=1 -->
<LigatureSubst index="0" Format="1"> <LigatureSubst index="0">
<LigatureSet glyph="one"> <LigatureSet glyph="one">
<Ligature components="slash,four" glyph="onequarter"/> <Ligature components="slash,four" glyph="onequarter"/>
<Ligature components="slash,two" glyph="onehalf"/> <Ligature components="slash,two" glyph="onehalf"/>
@ -178,7 +178,7 @@
<!-- LookupType=4 --> <!-- LookupType=4 -->
<LookupFlag value="0"/> <LookupFlag value="0"/>
<!-- SubTableCount=1 --> <!-- SubTableCount=1 -->
<LigatureSubst index="0" Format="1"> <LigatureSubst index="0">
<LigatureSet glyph="f"> <LigatureSet glyph="f">
<Ligature components="i" glyph="fi"/> <Ligature components="i" glyph="fi"/>
<Ligature components="l" glyph="fl"/> <Ligature components="l" glyph="fl"/>

View File

@ -74,7 +74,7 @@
<!-- LookupType=4 --> <!-- LookupType=4 -->
<LookupFlag value="0"/> <LookupFlag value="0"/>
<!-- SubTableCount=1 --> <!-- SubTableCount=1 -->
<LigatureSubst index="0" Format="1"> <LigatureSubst index="0">
<LigatureSet glyph="D"> <LigatureSet glyph="D">
<Ligature components="E,U" glyph="D_E_U"/> <Ligature components="E,U" glyph="D_E_U"/>
</LigatureSet> </LigatureSet>
@ -84,7 +84,7 @@
<!-- LookupType=4 --> <!-- LookupType=4 -->
<LookupFlag value="0"/> <LookupFlag value="0"/>
<!-- SubTableCount=1 --> <!-- SubTableCount=1 -->
<LigatureSubst index="0" Format="1"> <LigatureSubst index="0">
<LigatureSet glyph="F"> <LigatureSet glyph="F">
<Ligature components="R,A" glyph="F_R_A"/> <Ligature components="R,A" glyph="F_R_A"/>
</LigatureSet> </LigatureSet>
@ -94,7 +94,7 @@
<!-- LookupType=4 --> <!-- LookupType=4 -->
<LookupFlag value="0"/> <LookupFlag value="0"/>
<!-- SubTableCount=1 --> <!-- SubTableCount=1 -->
<LigatureSubst index="0" Format="1"> <LigatureSubst index="0">
<LigatureSet glyph="I"> <LigatureSet glyph="I">
<Ligature components="T,A" glyph="I_T_A"/> <Ligature components="T,A" glyph="I_T_A"/>
</LigatureSet> </LigatureSet>

View File

@ -49,7 +49,7 @@
<!-- LookupType=4 --> <!-- LookupType=4 -->
<LookupFlag value="0"/> <LookupFlag value="0"/>
<!-- SubTableCount=1 --> <!-- SubTableCount=1 -->
<LigatureSubst index="0" Format="1"> <LigatureSubst index="0">
<LigatureSet glyph="f"> <LigatureSet glyph="f">
<Ligature components="f,i" glyph="f_f_i"/> <Ligature components="f,i" glyph="f_f_i"/>
<Ligature components="i" glyph="f_i"/> <Ligature components="i" glyph="f_i"/>

View File

@ -118,7 +118,7 @@
<!-- LookupType=4 --> <!-- LookupType=4 -->
<LookupFlag value="0"/> <LookupFlag value="0"/>
<!-- SubTableCount=1 --> <!-- SubTableCount=1 -->
<LigatureSubst index="0" Format="1"> <LigatureSubst index="0">
<LigatureSet glyph="f"> <LigatureSet glyph="f">
<Ligature components="f" glyph="f_f"/> <Ligature components="f" glyph="f_f"/>
<Ligature components="i" glyph="f_i"/> <Ligature components="i" glyph="f_i"/>
@ -130,7 +130,7 @@
<!-- LookupType=4 --> <!-- LookupType=4 -->
<LookupFlag value="0"/> <LookupFlag value="0"/>
<!-- SubTableCount=1 --> <!-- SubTableCount=1 -->
<LigatureSubst index="0" Format="1"> <LigatureSubst index="0">
<LigatureSet glyph="c"> <LigatureSet glyph="c">
<Ligature components="s" glyph="c_s"/> <Ligature components="s" glyph="c_s"/>
<Ligature components="t" glyph="c_t"/> <Ligature components="t" glyph="c_t"/>
@ -141,7 +141,7 @@
<!-- LookupType=4 --> <!-- LookupType=4 -->
<LookupFlag value="0"/> <LookupFlag value="0"/>
<!-- SubTableCount=1 --> <!-- SubTableCount=1 -->
<LigatureSubst index="0" Format="1"> <LigatureSubst index="0">
<LigatureSet glyph="c"> <LigatureSet glyph="c">
<Ligature components="h" glyph="c_h"/> <Ligature components="h" glyph="c_h"/>
<Ligature components="k" glyph="c_k"/> <Ligature components="k" glyph="c_k"/>

View File

@ -41,7 +41,7 @@
<!-- LookupType=4 --> <!-- LookupType=4 -->
<LookupFlag value="0"/> <LookupFlag value="0"/>
<!-- SubTableCount=1 --> <!-- SubTableCount=1 -->
<LigatureSubst index="0" Format="1"> <LigatureSubst index="0">
<LigatureSet glyph="one"> <LigatureSet glyph="one">
<Ligature components="fraction,two" glyph="onehalf"/> <Ligature components="fraction,two" glyph="onehalf"/>
<Ligature components="fraction,two.oldstyle" glyph="onehalf"/> <Ligature components="fraction,two.oldstyle" glyph="onehalf"/>

View File

@ -41,7 +41,7 @@
<!-- LookupType=4 --> <!-- LookupType=4 -->
<LookupFlag value="0"/> <LookupFlag value="0"/>
<!-- SubTableCount=1 --> <!-- SubTableCount=1 -->
<LigatureSubst index="0" Format="1"> <LigatureSubst index="0">
<LigatureSet glyph="f"> <LigatureSet glyph="f">
<Ligature components="f,i" glyph="f_f_i"/> <Ligature components="f,i" glyph="f_f_i"/>
<Ligature components="f" glyph="f_f"/> <Ligature components="f" glyph="f_f"/>

View File

@ -33,7 +33,7 @@
<!-- LookupType=4 --> <!-- LookupType=4 -->
<LookupFlag value="0"/> <LookupFlag value="0"/>
<!-- SubTableCount=1 --> <!-- SubTableCount=1 -->
<LigatureSubst index="0" Format="1"> <LigatureSubst index="0">
<LigatureSet glyph="c"> <LigatureSet glyph="c">
<Ligature components="t" glyph="c_t"/> <Ligature components="t" glyph="c_t"/>
</LigatureSet> </LigatureSet>

View File

@ -33,7 +33,7 @@
<!-- LookupType=4 --> <!-- LookupType=4 -->
<LookupFlag value="0"/> <LookupFlag value="0"/>
<!-- SubTableCount=1 --> <!-- SubTableCount=1 -->
<LigatureSubst index="0" Format="1"> <LigatureSubst index="0">
<LigatureSet glyph="e"> <LigatureSet glyph="e">
<Ligature components="t" glyph="ampersand"/> <Ligature components="t" glyph="ampersand"/>
</LigatureSet> </LigatureSet>

View File

@ -126,7 +126,7 @@
<!-- LookupType=4 --> <!-- LookupType=4 -->
<LookupFlag value="0"/> <LookupFlag value="0"/>
<!-- SubTableCount=1 --> <!-- SubTableCount=1 -->
<LigatureSubst index="0" Format="1"> <LigatureSubst index="0">
<LigatureSet glyph="f"> <LigatureSet glyph="f">
<Ligature components="i" glyph="f_i"/> <Ligature components="i" glyph="f_i"/>
</LigatureSet> </LigatureSet>