Closed anthrotype closed 1 year ago
When constructing a pathops.Path using the PathPen, we should handle variable number of point arguments to curveTo and qCurveTo methods, following fontTools' BasePen which is the blueprint of all segment-based pens.
pathops.Path
PathPen
curveTo
qCurveTo
https://github.com/fonttools/fonttools/blob/35856412485bce4a1e6c08cceb52c7a87c75c4ee/Lib/fontTools/pens/basePen.py#L274-L329
as well as the UFO GLIF spec: https://github.com/unified-font-object/ufo-spec/issues/211
Should fix => https://github.com/googlefonts/ufo2ft/issues/468#issuecomment-1311574944
When constructing a
pathops.Path
using thePathPen
, we should handle variable number of point arguments tocurveTo
andqCurveTo
methods, following fontTools' BasePen which is the blueprint of all segment-based pens.https://github.com/fonttools/fonttools/blob/35856412485bce4a1e6c08cceb52c7a87c75c4ee/Lib/fontTools/pens/basePen.py#L274-L329
as well as the UFO GLIF spec: https://github.com/unified-font-object/ufo-spec/issues/211
Should fix => https://github.com/googlefonts/ufo2ft/issues/468#issuecomment-1311574944