Fix drawing of glyf's after numpy removal!
Should really start adding tests for these... Fixes https://github.com/behdad/fonttools/issues/238
This commit is contained in:
parent
eed0439c8b
commit
4ba27843a9
@ -922,7 +922,8 @@ class Glyph(object):
|
||||
|
||||
coordinates, endPts, flags = self.getCoordinates(glyfTable)
|
||||
if offset:
|
||||
coordinates = coordinates + (offset, 0)
|
||||
coordinates = coordinates.copy()
|
||||
coordinates.translate((offset, 0))
|
||||
start = 0
|
||||
for end in endPts:
|
||||
end = end + 1
|
||||
|
Loading…
x
Reference in New Issue
Block a user