Delete point & approximate existing curve
-
Hi,
On deleting a point on a contour via Python, I was wondering if there is any way to access/use RoboFont’s method to keep / approximate the existing curve in a script?
Thanks,
Nina
-
mmm, not directly from the robofab objects
but you could use the naked object
g = CurrentGlyph() # remove the first segment from the first contour g[0].naked().removeSegment(0, preserveCurve=True)
good luck!