Pomax
Pomax
that looks like a decent solution. Any solution I'd have implemented would have probably been based on the FontForge code, too.
That depends entirely on your needs, really. For accuracy, n=24 is a good trade-off against speed, but you can get "visually acceptable" lenghts for low values like n=6. (For the...
that's not really a well-formed question... You can either create a new curve, or update a curve's `.points` array, which represents each control point for the curve. However, that will...
Good point, I forgot I hadn't ported Catmull-Rom to bezier.js yet.
no really need (although thanks for the suggestion): they're already written up in http://pomax.github.io/bezierinfo/#catmullconv, just haven't had time to move them into bezier.js, too. https://github.com/Pomax/bezierjs/tree/gh-pages/test/autodraw makes use of the concept...
my bad, thanks for the correction.
I've not explicitly done anything there yet (beyond having a look at some tracing algorithms like potrace) but it's something I'd like to look into. Unfortunately, "eventually" because I run...
this is essentially the same as fitting the curve to three points, with the `t` (and strut) values clamped based on the original curve.
will be easier to implement once https://github.com/Pomax/bezierjs/issues/25 has landed
ah, well spotted, marking as bug. As for the Type2 charstring document, where do you see any mention of quadratic? The Tech Note only talks about "Bézier curves" (it never...