diff options
author | James Godfrey-Kittle <jamesgk19@gmail.com> | 2015-08-31 16:50:46 -0700 |
---|---|---|
committer | James Godfrey-Kittle <jamesgk19@gmail.com> | 2015-08-31 16:50:46 -0700 |
commit | 6e08f23f346f60cd861c2115e6f780603bbc7ac3 (patch) | |
tree | 094f87f1a13ec187f0137e1a04a0bb6097b165a1 | |
parent | 545be2d7b8074953666c24e4a45beb68e3599219 (diff) | |
parent | 1cae72d2f5fcdf2f8ab02a53846fc0f758725fee (diff) |
Merge pull request #100 from jamesgk/shape-fix
Always deal with floats when mixing font masters.
-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 58ef246..443dfeb 100644 --- a/scripts/lib/fontbuild/mix.py +++ b/scripts/lib/fontbuild/mix.py @@ -115,8 +115,8 @@ class FGlyph: valuesX.append(g[i].points[j].x) valuesY.append(g[i].points[j].y) - self.dataX = array(valuesX) - self.dataY = array(valuesY) + self.dataX = array(valuesX, dtype=float) + self.dataY = array(valuesY, dtype=float) def copyToGlyph(self,g): g.width = self._derefX(self.width) |