Fix failing tests
This commit is contained in:
parent
5b479716bc
commit
3ec06df194
@ -161,7 +161,7 @@ class CFFWriter(object):
|
|||||||
posList = [0]
|
posList = [0]
|
||||||
cffOffSize = calcOffSize(lastPosList[-1])
|
cffOffSize = calcOffSize(lastPosList[-1])
|
||||||
headerBytes = self.data[0]
|
headerBytes = self.data[0]
|
||||||
headerBytes = headerBytes[:-1] + chr(cffOffSize)
|
headerBytes = headerBytes[:-1] + bytechr(cffOffSize)
|
||||||
self.data[0] = headerBytes
|
self.data[0] = headerBytes
|
||||||
for item in self.data:
|
for item in self.data:
|
||||||
if hasattr(item, "toFile"):
|
if hasattr(item, "toFile"):
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
<ttFont sfntVersion="\x00\x01\x00\x00" ttLibVersion="3.0">
|
<ttFont sfntVersion="\x00\x01\x00\x00" ttLibVersion="3.0">
|
||||||
|
|
||||||
<GSUB>
|
<GSUB>
|
||||||
<Version value="1.0"/>
|
<Version value="0x00010000"/>
|
||||||
<ScriptList>
|
<ScriptList>
|
||||||
<!-- ScriptCount=2 -->
|
<!-- ScriptCount=2 -->
|
||||||
<ScriptRecord index="0">
|
<ScriptRecord index="0">
|
||||||
|
Loading…
x
Reference in New Issue
Block a user