From ce639f00646c911c0a31770340d9c25e70dbe074 Mon Sep 17 00:00:00 2001 From: justvanrossum Date: Tue, 13 Feb 2018 18:47:18 +0100 Subject: [PATCH] increase the width of the length and offset fields by one, to accommodate sizes and offsets in the 10s of megabytes. --- Lib/fontTools/ttx.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Lib/fontTools/ttx.py b/Lib/fontTools/ttx.py index 002215ce5..a55bd30d4 100644 --- a/Lib/fontTools/ttx.py +++ b/Lib/fontTools/ttx.py @@ -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":