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
|
||||
tags = sorted(reader.keys())
|
||||
print('Listing table info for "%s":' % input)
|
||||
format = " %4s %10s %7s %7s"
|
||||
print(format % ("tag ", " checksum", " length", " offset"))
|
||||
print(format % ("----", "----------", "-------", "-------"))
|
||||
format = " %4s %10s %8s %8s"
|
||||
print(format % ("tag ", " checksum", " length", " offset"))
|
||||
print(format % ("----", "----------", "--------", "--------"))
|
||||
for tag in tags:
|
||||
entry = reader.tables[tag]
|
||||
if ttf.flavor == "woff2":
|
||||
|
Loading…
x
Reference in New Issue
Block a user