This commit is contained in:
arpruss
2018-07-14 14:33:10 -05:00
parent 1c286ebf13
commit 16ddaf0bc6

View File

@@ -28,6 +28,7 @@ if __name__ == '__main__':
print("Ascender "+str(f.ascender))
print("Descender "+str(f.descender))
print("Units "+str(f.units_per_em))
print("MacStyle "+str(f.tables[b'head'].mac_style))
for c in chars:
glyph = f.char_to_glyph(c)
print("Width %d %d" % (c, f.glyph_metrics[glyph][0]))