summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Godfrey-Kittle <jamesgk19@gmail.com>2015-06-11 17:39:31 -0700
committerJames Godfrey-Kittle <jamesgk19@gmail.com>2015-06-11 17:39:31 -0700
commit84ec6e99fe55ac40f4ca7824aceea3d4105a84bc (patch)
treec0409a203e8c35af4984fe6f24746d2c31996041
parent01399c7f2f5ca881e2ed6df9c83e44145d9ea6ff (diff)
parent9292364c1a122498ada2616fdd20683c27c80e15 (diff)
Merge pull request #52 from google/mix-glyph-fix
Don't convert mixed glyph values to ints.
-rw-r--r--scripts/lib/fontbuild/mix.py4
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)