Skip to content

Commit

Permalink
remove shortcut that makes it not work for woff2
Browse files Browse the repository at this point in the history
  • Loading branch information
justvanrossum committed Jun 5, 2020
1 parent 2a41ffc commit 7b0eeaa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fbdiff.py
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down

0 comments on commit 7b0eeaa

Please sign in to comment.