From 16ddaf0bc686a15a110db9c519c60c53824f5c47 Mon Sep 17 00:00:00 2001 From: arpruss Date: Sat, 14 Jul 2018 14:33:10 -0500 Subject: [PATCH] macstyle --- dumpmetrics.py | 1 + 1 file changed, 1 insertion(+) diff --git a/dumpmetrics.py b/dumpmetrics.py index 2af1608..a0e27d9 100644 --- a/dumpmetrics.py +++ b/dumpmetrics.py @@ -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]))