From 796196bf0d6c9241186da1e2d6937c6a08d84161 Mon Sep 17 00:00:00 2001 From: James Godfrey-Kittle Date: Fri, 19 Jun 2015 14:14:48 -0700 Subject: Revert "Don't convert mixed glyph values to ints." This reverts commit 9292364c1a122498ada2616fdd20683c27c80e15. Necessary because it caused condensed glyphs to italicize incorrectly. --- scripts/lib/fontbuild/mix.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'scripts/lib/fontbuild') diff --git a/scripts/lib/fontbuild/mix.py b/scripts/lib/fontbuild/mix.py index 2c741fb..63f218f 100644 --- a/scripts/lib/fontbuild/mix.py +++ b/scripts/lib/fontbuild/mix.py @@ -203,10 +203,10 @@ class FGlyph: return ng def _derefX(self,id): - return self.dataX[id] + return int(round(self.dataX[id])) def _derefY(self,id): - return self.dataY[id] + return int(round(self.dataY[id])) def addDiff(self,gB,gC): newGlyph = self + (gB - gC) -- cgit v1.2.3