Moving large objects resets stroke-width to 0 (KiCad generated pads in svg export)
Summary:
When the attached file (generated from KiCad) is open and the drawing is moved, the pads (lines with a given width) resets to 0.
Steps to reproduce:
- Generate an SVG with KiCad (of a DIP-8 Package)
- Open the file in Inkscape
- Move the design around
What happened?
This, where the line's width resets to 0:
The pads are still there, but their width gets reset to 0, and it will continuously do that (not a one-time thing)
Looking at the xml editor, the stroke-width attribute is first converted to scientific notation, then subsequent moves remove the attribute entirely.
Note scientific notation for stroke width in a CSS style attribute is invalid in SVG 1.1, see https://www.w3.org/TR/SVG11/types.html#DataTypeNumber . This appears to be valid in SVG 2, which uses https://www.w3.org/TR/css3-values/#numbers
What should have happened?
The line's width should not have changed, and stayed like in this screenshot.
Sample attachments:
Version Info:
- Inkscape Version: 1.1-alpha (6ecc1a9445, 2021-01-20, custom)
- Operating System: Arch Linux
- Operating System version: Rolling Release
Edited by Nathan Lee