aboutsummaryrefslogtreecommitdiff
path: root/svg-flatten/testdata
diff options
context:
space:
mode:
authorjaseg <git@jaseg.de>2021-08-17 22:55:47 +0200
committerjaseg <git@jaseg.de>2021-08-17 22:55:47 +0200
commit236c4a44855b93c0dd4dc8e5e2ab80380b595046 (patch)
treecb2f7986208729866199e2916da9f9c67ba1dca2 /svg-flatten/testdata
parent4ffb4c65825ab0a5ded00ff799b494097e7bd143 (diff)
downloadgerbolyze-236c4a44855b93c0dd4dc8e5e2ab80380b595046.tar.gz
gerbolyze-236c4a44855b93c0dd4dc8e5e2ab80380b595046.tar.bz2
gerbolyze-236c4a44855b93c0dd4dc8e5e2ab80380b595046.zip
svg-flatten: Fix case where document unit is not mm
Diffstat (limited to 'svg-flatten/testdata')
-rw-r--r--svg-flatten/testdata/svg/doc_unit_scale.svg47
1 files changed, 47 insertions, 0 deletions
diff --git a/svg-flatten/testdata/svg/doc_unit_scale.svg b/svg-flatten/testdata/svg/doc_unit_scale.svg
new file mode 100644
index 0000000..cba6aec
--- /dev/null
+++ b/svg-flatten/testdata/svg/doc_unit_scale.svg
@@ -0,0 +1,47 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<svg
+ width="53.39mm"
+ height="32.4mm"
+ viewBox="0 0 151.34 91.83"
+ version="1.1"
+ id="svg1394"
+ sodipodi:docname="doc_unit_scale.svg"
+ inkscape:version="1.1 (c4e8f9ed74, 2021-05-24)"
+ xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
+ xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
+ xmlns="http://www.w3.org/2000/svg"
+ xmlns:svg="http://www.w3.org/2000/svg">
+ <sodipodi:namedview
+ id="namedview1396"
+ pagecolor="#ffffff"
+ bordercolor="#666666"
+ borderopacity="1.0"
+ inkscape:pageshadow="2"
+ inkscape:pageopacity="0.0"
+ inkscape:pagecheckerboard="0"
+ inkscape:document-units="mm"
+ showgrid="false"
+ inkscape:zoom="2.8708564"
+ inkscape:cx="127.66225"
+ inkscape:cy="78.54799"
+ inkscape:window-width="1920"
+ inkscape:window-height="1024"
+ inkscape:window-x="0"
+ inkscape:window-y="0"
+ inkscape:window-maximized="1"
+ inkscape:current-layer="svg1394" />
+ <defs
+ id="defs4">
+ <style
+ id="style2">.cls-1{fill:#231f20;}</style>
+ </defs>
+ <rect
+ style="fill:#000000;stroke:none;stroke-width:1.9825;stroke-linecap:round;stroke-linejoin:bevel;stop-color:#000000"
+ id="rect2359"
+ width="99.211464"
+ height="42.519199"
+ x="28.346132"
+ y="14.16733"
+ rx="0"
+ ry="0" />
+</svg>