Correctly deal with the TT-no-on-curve special case.
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@449 4cde692c-a291-49d1-8350-778aa11640f8
This commit is contained in:
parent
23cb200532
commit
fbff58cd78
@ -29,7 +29,11 @@ class TransformPen(AbstractPen):
|
||||
self._outPen.curveTo(*self._transformPoints(points))
|
||||
|
||||
def qCurveTo(self, *points):
|
||||
self._outPen.qCurveTo(*self._transformPoints(points))
|
||||
if points[-1] is None:
|
||||
points = self._transformPoints(points[:-1]) + [None]
|
||||
else:
|
||||
points = self._transformPoints(points)
|
||||
self._outPen.qCurveTo(*points)
|
||||
|
||||
def _transformPoints(self, points):
|
||||
new = []
|
||||
|
Loading…
x
Reference in New Issue
Block a user