meerk40t / svgelements

SVG Parsing for Elements, Paths, and other SVG Objects.
MIT License
139 stars 29 forks source link

Ellipse reification scales stroke-width even fail conditions. #95

Closed tatarize closed 3 years ago

tatarize commented 3 years ago

If you attempt to reify an ellipse that does not have a matrix-less analog it still scales up the stroke-width in error.

<ellipse style="stroke:#fc0000;stroke-width:1;fill:none" cx="0" cy="0" rx="1" ry="1" transform="scale(50) rotate(-90,0,0)"/>

Will repeatedly apply the scale to the stroke-width, even without scaling the determinant back to 1.

tatarize commented 3 years ago

Fixed in 1.4.8