Skip to content

Commit

Permalink
font-patcher: Fix typo in logger output
Browse files Browse the repository at this point in the history
Fixes: #1350

Signed-off-by: Fini Jastrow <[email protected]>
  • Loading branch information
Finii committed Sep 18, 2023
1 parent 7c16ba7 commit f81564f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion font-patcher
Original file line number Diff line number Diff line change
Expand Up @@ -1144,7 +1144,7 @@ class font_patcher:
if our_btb == hhea_btb:
metrics = Metric.TYPO if use_typo else Metric.WIN # conforming font
elif abs(our_btb - hhea_btb) / our_btb < 0.03:
logger.info("Font vertical metrics slightly off (%.1f%)", (our_btb - hhea_btb) / our_btb * 100.0)
logger.info("Font vertical metrics slightly off (%.1f)", (our_btb - hhea_btb) / our_btb * 100.0)
metrics = Metric.TYPO if use_typo else Metric.WIN
else:
# Try the other metric
Expand Down

0 comments on commit f81564f

Please sign in to comment.