Skip to content

Commit

Permalink
Small tweak in allchars.py
Browse files Browse the repository at this point in the history
  • Loading branch information
cpitclaudel committed Jun 20, 2018
1 parent a0c8fff commit 4a9fa49
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions allchars.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,8 @@ def charmap(chars, width=80):
def compare(f1, f2):
gl1, gl2 = set(supported_chars(f1)), set(supported_chars(f2))
only1, only2 = (sorted(gl1 - gl2), sorted(gl2 - gl1))
# print("{} has {} glyphs".format(f1, len(gl1)))
# print("{} has {} glyphs".format(f2, len(gl2)))
print("\n# Only in {}:".format(f1))
print("\n".join(charmap(only1)))
print("\n# Only in {}:".format(f2))
Expand Down

0 comments on commit 4a9fa49

Please sign in to comment.