From 7b0eeaaafb183e490f30b2fdff8b413fb7e8f61f Mon Sep 17 00:00:00 2001 From: justvanrossum Date: Fri, 5 Jun 2020 15:59:11 +0200 Subject: [PATCH] remove shortcut that makes it not work for woff2 --- fbdiff.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fbdiff.py b/fbdiff.py index 8db308c..35a3d07 100644 --- a/fbdiff.py +++ b/fbdiff.py @@ -54,8 +54,8 @@ def main(): common_tags = sorted(tags_A & tags_B) max_length = 1 for tag in common_tags: - if font_A.reader.tables[tag].checkSum == font_B.reader.tables[tag].checkSum: - continue + table_A = font_A.reader.tables[tag] + table_B = font_B.reader.tables[tag] max_length = max(max_length, font_A.reader.tables[tag].length) max_length = max(max_length, font_B.reader.tables[tag].length) max_digits = len(str(max_length))