small tweak
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@415 4cde692c-a291-49d1-8350-778aa11640f8
This commit is contained in:
parent
9920ad5286
commit
382102645a
@ -192,7 +192,7 @@ class BasePen(AbstractPen):
|
||||
# there's an implied on-curve point exactly in the middle.
|
||||
# This is where the segment splits.
|
||||
_qCurveToOne = self._qCurveToOne
|
||||
for i in range(len(points) - 2):
|
||||
for i in range(n - 1):
|
||||
x, y = points[i]
|
||||
nx, ny = points[i+1]
|
||||
impliedPt = (0.5 * (x + nx), 0.5 * (y + ny))
|
||||
|
Loading…
x
Reference in New Issue
Block a user