diff options
author | James Godfrey-Kittle <jamesgk19@gmail.com> | 2015-06-11 17:39:31 -0700 |
---|---|---|
committer | James Godfrey-Kittle <jamesgk19@gmail.com> | 2015-06-11 17:39:31 -0700 |
commit | 84ec6e99fe55ac40f4ca7824aceea3d4105a84bc (patch) | |
tree | c0409a203e8c35af4984fe6f24746d2c31996041 /scripts | |
parent | 01399c7f2f5ca881e2ed6df9c83e44145d9ea6ff (diff) | |
parent | 9292364c1a122498ada2616fdd20683c27c80e15 (diff) |
Merge pull request #52 from google/mix-glyph-fix
Don't convert mixed glyph values to ints.
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/lib/fontbuild/mix.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/lib/fontbuild/mix.py b/scripts/lib/fontbuild/mix.py index 63f218f..2c741fb 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 int(round(self.dataX[id])) + return self.dataX[id] def _derefY(self,id): - return int(round(self.dataY[id])) + return self.dataY[id] def addDiff(self,gB,gC): newGlyph = self + (gB - gC) |