mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-26 20:46:22 +01:00
Since #8610, a document in millimeters, centimeters, inches or picas is exported with that unit on the root width and height. A document in feet, feet and inches, yards, meters, Q or Ha still got unitless point values, which SVG readers take as CSS pixels at 96 per inch, so the art opened at 75% of its size. These units have no SVG unit identifier, so the export now writes feet and yards in inches, meters in centimeters, and Q and Ha in millimeters. The viewBox stays in points, and VectorCraft reads the file back at the same size.