Closed Twinside closed 4 years ago
Minimal reproducing example (extracted from the original generated gif)
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="300" height="400" version="1.1">
<path d="M 233.9148,322.0685 l -13.7268,-0.0222 l -6.4747,-0.1333 l -2.0822,0.1166 l -27.7586,0.2090 l -3.8016,0.1093 l -15.7134,-0.0280 l -4.1596,0.0143 l -0.1701,0.0083 l -15.4245,0.0589 l -0.1107,0.0052 l -13.3520,-0.0331 l -2.6995,0.0646 l -0.0966,-0.0024 l -0.6427,-0.0514 l -12.7871,0.0793 l -0.4520,0.0612 l -12.4533,0.1247 l -1.4282,-0.0735 l -13.8822,0.1268 l -13.8820,0.0223 l -4.3423,-0.1777 l -19.4572,-0.0001 l -3.9647,-0.0555 l -32.8712,-0.1235 l 0.0191,-28.1804 l -0.0054,-12.1021 l 0.0373,-1.8922 l 0.0528,-20.8602 l -0.0999,-48.4186 l -0.0466,-15.6507 l 0.0002,-0.7190 l 0.0054,-3.7426 l -0.0043,-1.3438 l 0.0026,-9.5521 l -0.0007,-7.6219 l 0.0310,-17.2716 l 0.0871,-8.6374 l 0.2724,-15.5364 l -0.0634,-16.9133 l 0.0195,-9.9421 l 0.0002,-0.5588 l 0.0037,-0.6198 l -0.0228,-4.8462 l -0.0086,-0.4344 l 0.0191,-0.2184 v -0.0292 l 0.0001,-0.1740 l -0.0068,-0.3175 l 0.0108,-1.3487 l -0.0068,-0.3581 l -0.0006,-0.1846 l -0.0026,-0.9458 l -0.0034,-0.6097 l -0.0037,-0.6511 l -0.0013,-0.2277 l 0.0021,-0.4600 l -0.0102,-11.6336 l -0.0034,-0.0128 l 0.0038,-0.8000 l 0.0071,-0.5335 l -0.0068,-0.7035 l -0.0431,-13.3420 l -0.1209,-38.1346 Z"/>
</svg>
I think now I'm experiencing this issue with stroke instead of filling.
I tried adding sanitizeFilling
after strokize
in the go
function but it didn't seem to work. Also, If I scale up the image I get less artifacts.
Please open a new ticket with a way to reproduce it, thanks
See diagrams/diagrams-rasterific#61