SOLVED Remove overlap and qcurves
I wish remove overlap did not remove "unnecessary" oncurve points on quadratic curves. It makes it hard to keep masters compatible, especially when knife tool and add extreme points don't yet work for multi offcurve segments.
There could be a setting to always keep two handles, also for spline conversion.
This works! Thank you Frederik!
well, with some hacking...
this only works when you have quads with 2 off curve points
from fontCompiler.tools.curveTools import curveConverter g = CurrentGlyph() with g.undo("Remove overlap with quads ala RF3"): curveConverter.quadratic2bezier(g.asDefcon()) g.removeOverlap() curveConverter.bezier2quadratic(g.asDefcon()) g.changed()
Thanks for the info. Is there a simple way to recreate the RF3 remove overlap behavior in RF4, other than appending the missing implied points afterwards?
quad curves are handles by pathops
these issues are reported, but that is not designed for design time... BooleanOperation does a better job for designers, pathops uses skia which is made for drawing on screen, a totally different world.
First I didnt want to offer any remove overlap for quads as a simple merge could add 8 additional implied on curves points + related off curves...