increase the width of the length and offset fields by one, to accommodate sizes and offsets in the 10s of megabytes.
This commit is contained in:
parent
5eebad29df
commit
ce639f0064
@ -223,9 +223,9 @@ def ttList(input, output, options):
|
|||||||
reader = ttf.reader
|
reader = ttf.reader
|
||||||
tags = sorted(reader.keys())
|
tags = sorted(reader.keys())
|
||||||
print('Listing table info for "%s":' % input)
|
print('Listing table info for "%s":' % input)
|
||||||
format = " %4s %10s %7s %7s"
|
format = " %4s %10s %8s %8s"
|
||||||
print(format % ("tag ", " checksum", " length", " offset"))
|
print(format % ("tag ", " checksum", " length", " offset"))
|
||||||
print(format % ("----", "----------", "-------", "-------"))
|
print(format % ("----", "----------", "--------", "--------"))
|
||||||
for tag in tags:
|
for tag in tags:
|
||||||
entry = reader.tables[tag]
|
entry = reader.tables[tag]
|
||||||
if ttf.flavor == "woff2":
|
if ttf.flavor == "woff2":
|
||||||
|
Loading…
x
Reference in New Issue
Block a user