meerk40t / svgelements

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

Image.preserveAspectRatio=="none" is fundamentally different than `None` #207

Closed tatarize closed 1 year ago

tatarize commented 1 year ago

None means that there is no perserveAspectRatio value. none means that there is no preservation of the aspect ratio.

This results in a bug where "none" is set and replaced erroneously with None.

See: meerk40t/meerk40t#1535