LaserWeb4 icon indicating copy to clipboard operation
LaserWeb4 copied to clipboard

Replace lw.svg-parser's curve conversion

Open tbfleming opened this issue 7 years ago • 2 comments

This is part of the performance issues users have been having with SVG files.

lw.svg-parser produces an insane number of line segments for tiny curves. The original SVG parser used linearizeCubicBezier(), which automatically adapts its resolution to limit segment lengths.

tbfleming avatar Apr 18 '17 16:04 tbfleming

@lautr3k

ghost avatar Apr 20 '17 05:04 ghost

It now handles the test case in #217 better.

tbfleming avatar Jun 18 '17 18:06 tbfleming