Skip to content

Commit

Permalink
outlineCompiler: must round vertical/horizontal metrics
Browse files Browse the repository at this point in the history
Fixes #260
  • Loading branch information
anthrotype committed Jun 15, 2018
1 parent dbb107c commit 672a763
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Lib/ufo2ft/outlineCompiler.py
Original file line number Diff line number Diff line change
Expand Up @@ -634,7 +634,7 @@ def _setupTable_hhea_or_vhea(self, tag):
}
for otfName, ufoName in metricsDict.items():
setattr(table, otfName,
getAttrWithFallback(font.info, ufoName))
round(getAttrWithFallback(font.info, ufoName)))
# Horizontal metrics in hhea, vertical metrics in vhea
advances = [] # width in hhea, height in vhea
firstSideBearings = [] # left in hhea, top in vhea
Expand Down

0 comments on commit 672a763

Please sign in to comment.