[feaLib] Do not set LigatureSubst.Format
This commit is contained in:
parent
3dec54f24a
commit
1bffd6b872
@ -987,7 +987,6 @@ class LigatureSubstBuilder(LookupBuilder):
|
||||
|
||||
def build(self):
|
||||
subtable = otlBuilder.buildLigatureSubst(self.ligatures)
|
||||
subtable.Format = 1
|
||||
return self.buildLookup_([subtable])
|
||||
|
||||
|
||||
|
2
Lib/fontTools/feaLib/testdata/GSUB_6.ttx
vendored
2
Lib/fontTools/feaLib/testdata/GSUB_6.ttx
vendored
@ -192,7 +192,7 @@
|
||||
<!-- LookupType=4 -->
|
||||
<LookupFlag value="0"/>
|
||||
<!-- SubTableCount=1 -->
|
||||
<LigatureSubst index="0" Format="1">
|
||||
<LigatureSubst index="0">
|
||||
<LigatureSet glyph="C">
|
||||
<Ligature components="T" glyph="c_t"/>
|
||||
<Ligature components="t" glyph="c_t"/>
|
||||
|
@ -89,7 +89,7 @@
|
||||
<!-- LookupType=4 -->
|
||||
<LookupFlag value="0"/>
|
||||
<!-- SubTableCount=1 -->
|
||||
<LigatureSubst index="0" Format="1">
|
||||
<LigatureSubst index="0">
|
||||
<LigatureSet glyph="one">
|
||||
<Ligature components="slash,four" glyph="onequarter"/>
|
||||
<Ligature components="slash,two" glyph="onehalf"/>
|
||||
@ -178,7 +178,7 @@
|
||||
<!-- LookupType=4 -->
|
||||
<LookupFlag value="0"/>
|
||||
<!-- SubTableCount=1 -->
|
||||
<LigatureSubst index="0" Format="1">
|
||||
<LigatureSubst index="0">
|
||||
<LigatureSet glyph="f">
|
||||
<Ligature components="i" glyph="fi"/>
|
||||
<Ligature components="l" glyph="fl"/>
|
||||
|
@ -74,7 +74,7 @@
|
||||
<!-- LookupType=4 -->
|
||||
<LookupFlag value="0"/>
|
||||
<!-- SubTableCount=1 -->
|
||||
<LigatureSubst index="0" Format="1">
|
||||
<LigatureSubst index="0">
|
||||
<LigatureSet glyph="D">
|
||||
<Ligature components="E,U" glyph="D_E_U"/>
|
||||
</LigatureSet>
|
||||
@ -84,7 +84,7 @@
|
||||
<!-- LookupType=4 -->
|
||||
<LookupFlag value="0"/>
|
||||
<!-- SubTableCount=1 -->
|
||||
<LigatureSubst index="0" Format="1">
|
||||
<LigatureSubst index="0">
|
||||
<LigatureSet glyph="F">
|
||||
<Ligature components="R,A" glyph="F_R_A"/>
|
||||
</LigatureSet>
|
||||
@ -94,7 +94,7 @@
|
||||
<!-- LookupType=4 -->
|
||||
<LookupFlag value="0"/>
|
||||
<!-- SubTableCount=1 -->
|
||||
<LigatureSubst index="0" Format="1">
|
||||
<LigatureSubst index="0">
|
||||
<LigatureSet glyph="I">
|
||||
<Ligature components="T,A" glyph="I_T_A"/>
|
||||
</LigatureSet>
|
||||
|
2
Lib/fontTools/feaLib/testdata/lookup.ttx
vendored
2
Lib/fontTools/feaLib/testdata/lookup.ttx
vendored
@ -49,7 +49,7 @@
|
||||
<!-- LookupType=4 -->
|
||||
<LookupFlag value="0"/>
|
||||
<!-- SubTableCount=1 -->
|
||||
<LigatureSubst index="0" Format="1">
|
||||
<LigatureSubst index="0">
|
||||
<LigatureSet glyph="f">
|
||||
<Ligature components="f,i" glyph="f_f_i"/>
|
||||
<Ligature components="i" glyph="f_i"/>
|
||||
|
6
Lib/fontTools/feaLib/testdata/spec4h1.ttx
vendored
6
Lib/fontTools/feaLib/testdata/spec4h1.ttx
vendored
@ -118,7 +118,7 @@
|
||||
<!-- LookupType=4 -->
|
||||
<LookupFlag value="0"/>
|
||||
<!-- SubTableCount=1 -->
|
||||
<LigatureSubst index="0" Format="1">
|
||||
<LigatureSubst index="0">
|
||||
<LigatureSet glyph="f">
|
||||
<Ligature components="f" glyph="f_f"/>
|
||||
<Ligature components="i" glyph="f_i"/>
|
||||
@ -130,7 +130,7 @@
|
||||
<!-- LookupType=4 -->
|
||||
<LookupFlag value="0"/>
|
||||
<!-- SubTableCount=1 -->
|
||||
<LigatureSubst index="0" Format="1">
|
||||
<LigatureSubst index="0">
|
||||
<LigatureSet glyph="c">
|
||||
<Ligature components="s" glyph="c_s"/>
|
||||
<Ligature components="t" glyph="c_t"/>
|
||||
@ -141,7 +141,7 @@
|
||||
<!-- LookupType=4 -->
|
||||
<LookupFlag value="0"/>
|
||||
<!-- SubTableCount=1 -->
|
||||
<LigatureSubst index="0" Format="1">
|
||||
<LigatureSubst index="0">
|
||||
<LigatureSet glyph="c">
|
||||
<Ligature components="h" glyph="c_h"/>
|
||||
<Ligature components="k" glyph="c_k"/>
|
||||
|
2
Lib/fontTools/feaLib/testdata/spec5d1.ttx
vendored
2
Lib/fontTools/feaLib/testdata/spec5d1.ttx
vendored
@ -41,7 +41,7 @@
|
||||
<!-- LookupType=4 -->
|
||||
<LookupFlag value="0"/>
|
||||
<!-- SubTableCount=1 -->
|
||||
<LigatureSubst index="0" Format="1">
|
||||
<LigatureSubst index="0">
|
||||
<LigatureSet glyph="one">
|
||||
<Ligature components="fraction,two" glyph="onehalf"/>
|
||||
<Ligature components="fraction,two.oldstyle" glyph="onehalf"/>
|
||||
|
2
Lib/fontTools/feaLib/testdata/spec5d2.ttx
vendored
2
Lib/fontTools/feaLib/testdata/spec5d2.ttx
vendored
@ -41,7 +41,7 @@
|
||||
<!-- LookupType=4 -->
|
||||
<LookupFlag value="0"/>
|
||||
<!-- SubTableCount=1 -->
|
||||
<LigatureSubst index="0" Format="1">
|
||||
<LigatureSubst index="0">
|
||||
<LigatureSet glyph="f">
|
||||
<Ligature components="f,i" glyph="f_f_i"/>
|
||||
<Ligature components="f" glyph="f_f"/>
|
||||
|
2
Lib/fontTools/feaLib/testdata/spec5fi1.ttx
vendored
2
Lib/fontTools/feaLib/testdata/spec5fi1.ttx
vendored
@ -33,7 +33,7 @@
|
||||
<!-- LookupType=4 -->
|
||||
<LookupFlag value="0"/>
|
||||
<!-- SubTableCount=1 -->
|
||||
<LigatureSubst index="0" Format="1">
|
||||
<LigatureSubst index="0">
|
||||
<LigatureSet glyph="c">
|
||||
<Ligature components="t" glyph="c_t"/>
|
||||
</LigatureSet>
|
||||
|
2
Lib/fontTools/feaLib/testdata/spec5fi4.ttx
vendored
2
Lib/fontTools/feaLib/testdata/spec5fi4.ttx
vendored
@ -33,7 +33,7 @@
|
||||
<!-- LookupType=4 -->
|
||||
<LookupFlag value="0"/>
|
||||
<!-- SubTableCount=1 -->
|
||||
<LigatureSubst index="0" Format="1">
|
||||
<LigatureSubst index="0">
|
||||
<LigatureSet glyph="e">
|
||||
<Ligature components="t" glyph="ampersand"/>
|
||||
</LigatureSet>
|
||||
|
2
Lib/fontTools/feaLib/testdata/spec8a.ttx
vendored
2
Lib/fontTools/feaLib/testdata/spec8a.ttx
vendored
@ -126,7 +126,7 @@
|
||||
<!-- LookupType=4 -->
|
||||
<LookupFlag value="0"/>
|
||||
<!-- SubTableCount=1 -->
|
||||
<LigatureSubst index="0" Format="1">
|
||||
<LigatureSubst index="0">
|
||||
<LigatureSet glyph="f">
|
||||
<Ligature components="i" glyph="f_i"/>
|
||||
</LigatureSet>
|
||||
|
Loading…
x
Reference in New Issue
Block a user