UNSOLVED Spotted Issue: IntersectGlyphWithLine
-
Hi,
Spotted issue (in RoboFont 3.1):mojo.tools.IntersectGlyphWithLine
doesn't support quadratic bezier curves. I'm guessing that Robofont treats them as a cubic Bezier curve.
-
@frederik huehue,
ok, so we have to live with that
-
yeah, what RoboFont does is a small trick that does not work very well with badly drawn curves...
euh blame the designer :)
-
Sorry for delayed response.
There is no traceback.
The behaviour of the intersection-line is weird:
The intersection points don't appear on the curve.So in my tool, on which I'm working on, the red dot has coordinances returned by this function. It should appear on the other side of the shape.
( )
I think, that somehow RoboFont doesn't trigger the calculations for quadratic bezier curves
I've done small test:
I copied this shape to the font with cubic beziers and later I overlayed those two paths in photoshop.
-
mm, it should support qcurves
is there a traceback? and how does your quads look like? Until now RoboFont has the limit support for quadratics if they have 2 off curves (the look like bezier from a structure point of view :) )