[varLib] Remove TODO item

This commit is contained in:
Behdad Esfahbod 2017-02-25 10:59:31 -08:00
parent a02a429573
commit 76e73f0ee4

View File

@ -154,8 +154,7 @@ def _SetCoordinates(font, glyphName, coord):
horizontalAdvanceWidth = rightSideX - leftSideX
leftSideBearing = glyph.xMin - leftSideX
# XXX Handle vertical
# XXX Remove the round when https://github.com/behdad/fonttools/issues/593 is fixed
font["hmtx"].metrics[glyphName] = int(round(horizontalAdvanceWidth)), int(round(leftSideBearing))
font["hmtx"].metrics[glyphName] = horizontalAdvanceWidth, leftSideBearing
def _add_gvar(font, model, master_ttfs):