Revert "t2CharStringPen: specializeCommands expects command args to be list, not tuples"

This reverts commit 41445b8449733ade6117b3ae834da518e5623ef8.

41445b8449 (commitcomment-27640426)
This commit is contained in:
Cosimo Lupo 2018-02-19 14:57:18 +00:00
parent f01c86ca9b
commit fe2e897d13
No known key found for this signature in database
GPG Key ID: 59D54DB0C9976482

View File

@ -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)))