Revert "t2CharStringPen: specializeCommands expects command args to be list, not tuples"
This reverts commit 41445b8449733ade6117b3ae834da518e5623ef8.
41445b8449 (commitcomment-27640426)
This commit is contained in:
parent
f01c86ca9b
commit
fe2e897d13
@ -54,7 +54,7 @@ class T2CharStringPen(BasePen):
|
||||
def _p(self, pt):
|
||||
p0 = self._p0
|
||||
pt = self._p0 = self.roundPoint(pt)
|
||||
return [pt[0]-p0[0], pt[1]-p0[1]]
|
||||
return (pt[0]-p0[0], pt[1]-p0[1])
|
||||
|
||||
def _moveTo(self, pt):
|
||||
self._commands.append(('rmoveto', self._p(pt)))
|
||||
|
Loading…
x
Reference in New Issue
Block a user