Strokes on closed shapes do not get outlined
mklickman opened this issue · comments
Steps to reproduce
- In your graphics package, create a vector circle. Give the circle a stroke but no fill.
- Export the circle as an SVG
- Run Outliner on the exported SVG
- The log output will read
no change
for the exported SVG
_NOTE: If an exported SVG contains both closed shapes and non-closed paths, the log will report the file as updated
, however only the non-closed paths will be converted.
Expected behavior
All strokes in a given SVG file will be converted to filled shapes.
Additional info
Environment:
- OS: Windows 10 Home
- Node version: 14.18.0
Hey Marshall,
Thanks for the issue.
Most likely related / dupe of this?
As for a fix... I had thought I would be spending more time on this, but Oct - Dec turned out to be a bit of a disaster for me time wise, and I'm now behind on lots of projects, and this lib is currently a low priority for me, especially as I think it needs a rewrite (see #33).
If you wanted to take a look at the code, this is the bit that you would need to play with, in conjunction with the pointers from that first issue: