We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 203024e commit a35f40eCopy full SHA for a35f40e
lib/fontline/commands.py
@@ -21,11 +21,11 @@ def get_font_report(fontpath):
21
os2_typo_linegap = tt['OS/2'].sTypoLineGap
22
try:
23
os2_x_height = tt['OS/2'].sxHeight
24
- except AttributeError as e:
+ except AttributeError:
25
os2_x_height = "---- (OS/2 table does not contain sxHeight record)"
26
27
os2_cap_height = tt['OS/2'].sCapHeight
28
29
os2_cap_height = "---- (OS/2 table does not contain sCapHeight record)"
30
hhea_ascent = tt['hhea'].ascent
31
hhea_descent = tt['hhea'].descent
0 commit comments