pointInsidePen: Disallow endPath()
https://github.com/behdad/fonttools/issues/621#issuecomment-234764830
This commit is contained in:
parent
f3ff2f8881
commit
9b3660df9f
@ -187,4 +187,6 @@ class PointInsidePen(BasePen):
|
|||||||
self.lineTo(self.firstPoint)
|
self.lineTo(self.firstPoint)
|
||||||
self.firstPoint = None
|
self.firstPoint = None
|
||||||
|
|
||||||
_endPath = _closePath
|
def _endPath(self):
|
||||||
|
"""Insideness is not defined for open contours."""
|
||||||
|
raise NotImplementedError
|
||||||
|
Loading…
x
Reference in New Issue
Block a user