Commit bf09eb8c authored by Andrey Golovizin's avatar Andrey Golovizin

Fix make_charwidths.py in Python 3

parent abb13595
......@@ -52,7 +52,7 @@ def make_table(font_filename, output):
print('# Font style: {0}'.format(font_face.style_name), file=output)
print('# Font version: {0}'.format(get_font_version(font_face)), file=output)
print(file=output)
print('charwidths = {0}'.format(pformat(charwidths).encode('UTF-8')), file=output)
print('charwidths = {0}'.format(pformat(charwidths)), file=output)
def get_font_version(font_face):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment