aboutsummaryrefslogtreecommitdiff
path: root/svg-flatten/testdata
diff options
context:
space:
mode:
authorjaseg <git@jaseg.de>2021-06-04 16:39:05 +0200
committerjaseg <git@jaseg.de>2021-06-04 16:39:05 +0200
commit018748aa237f94a94bfb7e98cc5f7833bc236473 (patch)
tree84521ed61fbbe61e59e0d206874482cbdeeda151 /svg-flatten/testdata
parent6dd7bbc38c4be399455306457d16a7fb36fa88e9 (diff)
downloadgerbolyze-018748aa237f94a94bfb7e98cc5f7833bc236473.tar.gz
gerbolyze-018748aa237f94a94bfb7e98cc5f7833bc236473.tar.bz2
gerbolyze-018748aa237f94a94bfb7e98cc5f7833bc236473.zip
Fix handling of dashes and joins, all tests run through now
Diffstat (limited to 'svg-flatten/testdata')
-rw-r--r--svg-flatten/testdata/svg/circles.svg1
-rw-r--r--svg-flatten/testdata/svg/compound_xform.svg1
-rw-r--r--svg-flatten/testdata/svg/empty.svg1
-rw-r--r--svg-flatten/testdata/svg/empty_inkscape.svg1
-rw-r--r--svg-flatten/testdata/svg/groups.svg1
-rw-r--r--svg-flatten/testdata/svg/pattern_fill.svg1
-rw-r--r--svg-flatten/testdata/svg/pattern_stroke.svg1
-rw-r--r--svg-flatten/testdata/svg/pattern_stroke_dashed.svg1
-rw-r--r--svg-flatten/testdata/svg/rect.svg1
-rw-r--r--svg-flatten/testdata/svg/rect_occlusion.svg1
-rw-r--r--svg-flatten/testdata/svg/rotation.svg1
-rw-r--r--svg-flatten/testdata/svg/rotation_90.svg1
-rw-r--r--svg-flatten/testdata/svg/scale.svg1
-rw-r--r--svg-flatten/testdata/svg/shear.svg1
-rw-r--r--svg-flatten/testdata/svg/stroke.svg1
-rw-r--r--svg-flatten/testdata/svg/stroke_caps.svg1
-rw-r--r--svg-flatten/testdata/svg/stroke_dashes.svg1
-rw-r--r--svg-flatten/testdata/svg/stroke_joins.svg1
-rw-r--r--svg-flatten/testdata/svg/text.svg1
19 files changed, 19 insertions, 0 deletions
diff --git a/svg-flatten/testdata/svg/circles.svg b/svg-flatten/testdata/svg/circles.svg
index 9be474e..8dc8a22 100644
--- a/svg-flatten/testdata/svg/circles.svg
+++ b/svg-flatten/testdata/svg/circles.svg
@@ -48,6 +48,7 @@
inkscape:window-y="0"
inkscape:window-maximized="1"
inkscape:current-layer="svg8" />
+ <rect width="100%" height="100%" fill="white"/>
<circle
style="fill:#000000;stroke:none;stroke-width:0.0264583;stroke-linejoin:round;stop-color:#000000"
id="path950"
diff --git a/svg-flatten/testdata/svg/compound_xform.svg b/svg-flatten/testdata/svg/compound_xform.svg
index 229e05d..e4b3688 100644
--- a/svg-flatten/testdata/svg/compound_xform.svg
+++ b/svg-flatten/testdata/svg/compound_xform.svg
@@ -48,6 +48,7 @@
inkscape:window-y="0"
inkscape:window-maximized="1"
inkscape:current-layer="svg8" />
+ <rect width="100%" height="100%" fill="white"/>
<g
id="g1200">
<g
diff --git a/svg-flatten/testdata/svg/empty.svg b/svg-flatten/testdata/svg/empty.svg
index d2cdc52..7e959f7 100644
--- a/svg-flatten/testdata/svg/empty.svg
+++ b/svg-flatten/testdata/svg/empty.svg
@@ -8,4 +8,5 @@
viewBox="0 0 50 50"
version="1.1"
id="svg8">
+ <rect width="100%" height="100%" fill="white"/>
</svg>
diff --git a/svg-flatten/testdata/svg/empty_inkscape.svg b/svg-flatten/testdata/svg/empty_inkscape.svg
index 716379f..ce43b2b 100644
--- a/svg-flatten/testdata/svg/empty_inkscape.svg
+++ b/svg-flatten/testdata/svg/empty_inkscape.svg
@@ -47,6 +47,7 @@
</cc:Work>
</rdf:RDF>
</metadata>
+ <rect width="100%" height="100%" fill="white"/>
<g
inkscape:label="Layer 1"
inkscape:groupmode="layer"
diff --git a/svg-flatten/testdata/svg/groups.svg b/svg-flatten/testdata/svg/groups.svg
index d94dad0..87c7444 100644
--- a/svg-flatten/testdata/svg/groups.svg
+++ b/svg-flatten/testdata/svg/groups.svg
@@ -48,6 +48,7 @@
inkscape:window-y="0"
inkscape:window-maximized="1"
inkscape:current-layer="svg8" />
+ <rect width="100%" height="100%" fill="white"/>
<rect
style="fill:#000000;stroke:none;stroke-width:0.0264583;stroke-linejoin:round;stop-color:#000000"
id="rect1002"
diff --git a/svg-flatten/testdata/svg/pattern_fill.svg b/svg-flatten/testdata/svg/pattern_fill.svg
index 21789e6..6b43c65 100644
--- a/svg-flatten/testdata/svg/pattern_fill.svg
+++ b/svg-flatten/testdata/svg/pattern_fill.svg
@@ -111,6 +111,7 @@
inkscape:current-layer="svg8"
inkscape:document-units="mm"
showguides="false" />
+ <rect width="100%" height="100%" fill="white"/>
<circle
style="opacity:0.99435;fill:url(#pattern3461);fill-opacity:1;stroke:none;stroke-width:1;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:4.00001, 4.00001;stroke-dashoffset:2.19001;stop-color:#000000"
id="path1374"
diff --git a/svg-flatten/testdata/svg/pattern_stroke.svg b/svg-flatten/testdata/svg/pattern_stroke.svg
index 5564df0..086ef69 100644
--- a/svg-flatten/testdata/svg/pattern_stroke.svg
+++ b/svg-flatten/testdata/svg/pattern_stroke.svg
@@ -80,6 +80,7 @@
inkscape:current-layer="svg8"
inkscape:document-units="mm"
showguides="false" />
+ <rect width="100%" height="100%" fill="white"/>
<circle
style="opacity:0.99435;fill:none;stroke:url(#pattern3520);stroke-width:8;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:10.95;stroke-opacity:1;stop-color:#000000"
id="path3513"
diff --git a/svg-flatten/testdata/svg/pattern_stroke_dashed.svg b/svg-flatten/testdata/svg/pattern_stroke_dashed.svg
index 3d8145e..6c0fb93 100644
--- a/svg-flatten/testdata/svg/pattern_stroke_dashed.svg
+++ b/svg-flatten/testdata/svg/pattern_stroke_dashed.svg
@@ -80,6 +80,7 @@
inkscape:current-layer="svg8"
inkscape:document-units="mm"
showguides="false" />
+ <rect width="100%" height="100%" fill="white"/>
<circle
style="opacity:0.99435;fill:#000000;stroke:url(#pattern3520);stroke-width:12;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:6,6;stroke-dashoffset:0;stroke-opacity:1;stop-color:#000000"
id="path3513"
diff --git a/svg-flatten/testdata/svg/rect.svg b/svg-flatten/testdata/svg/rect.svg
index 297ff7e..adb2dff 100644
--- a/svg-flatten/testdata/svg/rect.svg
+++ b/svg-flatten/testdata/svg/rect.svg
@@ -48,6 +48,7 @@
inkscape:window-y="0"
inkscape:window-maximized="1"
inkscape:current-layer="svg8" />
+ <rect width="100%" height="100%" fill="white"/>
<rect
style="fill:#000000;stroke:none;stroke-width:0.0264583;stroke-linejoin:round;stop-color:#000000"
id="rect832"
diff --git a/svg-flatten/testdata/svg/rect_occlusion.svg b/svg-flatten/testdata/svg/rect_occlusion.svg
index ce0e531..5cbe90e 100644
--- a/svg-flatten/testdata/svg/rect_occlusion.svg
+++ b/svg-flatten/testdata/svg/rect_occlusion.svg
@@ -48,6 +48,7 @@
inkscape:window-y="0"
inkscape:window-maximized="1"
inkscape:current-layer="svg8" />
+ <rect width="100%" height="100%" fill="white"/>
<rect
style="fill:#000000;stroke:none;stroke-width:0.0264583;stroke-linejoin:round;stop-color:#000000"
id="rect832"
diff --git a/svg-flatten/testdata/svg/rotation.svg b/svg-flatten/testdata/svg/rotation.svg
index 961ef0f..af68d91 100644
--- a/svg-flatten/testdata/svg/rotation.svg
+++ b/svg-flatten/testdata/svg/rotation.svg
@@ -48,6 +48,7 @@
inkscape:window-y="0"
inkscape:window-maximized="1"
inkscape:current-layer="svg8" />
+ <rect width="100%" height="100%" fill="white"/>
<rect
style="fill:#000000;stroke:none;stroke-width:0.0264583;stroke-linejoin:round;stop-color:#000000"
id="rect1022"
diff --git a/svg-flatten/testdata/svg/rotation_90.svg b/svg-flatten/testdata/svg/rotation_90.svg
index dcca867..bcec2c4 100644
--- a/svg-flatten/testdata/svg/rotation_90.svg
+++ b/svg-flatten/testdata/svg/rotation_90.svg
@@ -48,6 +48,7 @@
inkscape:window-y="0"
inkscape:window-maximized="1"
inkscape:current-layer="svg8" />
+ <rect width="100%" height="100%" fill="white"/>
<rect
style="fill:#000000;stroke:none;stroke-width:0.0264583;stroke-linejoin:round;stop-color:#000000"
id="rect1022"
diff --git a/svg-flatten/testdata/svg/scale.svg b/svg-flatten/testdata/svg/scale.svg
index 91b28d6..de98236 100644
--- a/svg-flatten/testdata/svg/scale.svg
+++ b/svg-flatten/testdata/svg/scale.svg
@@ -48,6 +48,7 @@
inkscape:window-y="0"
inkscape:window-maximized="1"
inkscape:current-layer="svg8" />
+ <rect width="100%" height="100%" fill="white"/>
<g
id="g1082"
transform="matrix(0.81799278,0,0,0.81799278,12.474166,-0.98587389)"
diff --git a/svg-flatten/testdata/svg/shear.svg b/svg-flatten/testdata/svg/shear.svg
index ec7875f..9739f4a 100644
--- a/svg-flatten/testdata/svg/shear.svg
+++ b/svg-flatten/testdata/svg/shear.svg
@@ -48,6 +48,7 @@
inkscape:window-y="0"
inkscape:window-maximized="1"
inkscape:current-layer="svg8" />
+ <rect width="100%" height="100%" fill="white"/>
<ellipse
style="fill:#000000;stroke:none;stroke-width:0.0307622;stroke-linejoin:round;stop-color:#000000"
id="path1130"
diff --git a/svg-flatten/testdata/svg/stroke.svg b/svg-flatten/testdata/svg/stroke.svg
index 6a4b334..aa26012 100644
--- a/svg-flatten/testdata/svg/stroke.svg
+++ b/svg-flatten/testdata/svg/stroke.svg
@@ -50,6 +50,7 @@
inkscape:current-layer="svg8"
inkscape:document-units="mm"
showguides="false" />
+ <rect width="100%" height="100%" fill="white"/>
<rect
style="fill:#ffffff;stroke:#000000;stroke-width:9.99998;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stop-color:#000000"
id="rect1220"
diff --git a/svg-flatten/testdata/svg/stroke_caps.svg b/svg-flatten/testdata/svg/stroke_caps.svg
index 6b89a34..e261dca 100644
--- a/svg-flatten/testdata/svg/stroke_caps.svg
+++ b/svg-flatten/testdata/svg/stroke_caps.svg
@@ -50,6 +50,7 @@
inkscape:current-layer="svg8"
inkscape:document-units="mm"
showguides="false" />
+ <rect width="100%" height="100%" fill="white"/>
<path
style="fill:none;stroke:#000000;stroke-width:5;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1;stroke-miterlimit:4;stroke-dasharray:none"
d="M 8.1209509,7.3978548 20.159949,7.3803896 9.2562029,14.249268 c 19.4757851,0.912458 -2.156778,6.498823 6.5634261,12.04404"
diff --git a/svg-flatten/testdata/svg/stroke_dashes.svg b/svg-flatten/testdata/svg/stroke_dashes.svg
index c1d6f5c..04240af 100644
--- a/svg-flatten/testdata/svg/stroke_dashes.svg
+++ b/svg-flatten/testdata/svg/stroke_dashes.svg
@@ -50,6 +50,7 @@
inkscape:current-layer="svg8"
inkscape:document-units="mm"
showguides="false" />
+ <rect width="100%" height="100%" fill="white"/>
<path
style="fill:none;stroke:#000000;stroke-width:3.00000008;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1;stroke-miterlimit:4;stroke-dasharray:3.00000008,3.00000008;stroke-dashoffset:0"
d="M 8.1209509,7.3978548 20.159949,7.3803896 9.2562029,14.249268 c 19.4757851,0.912458 -2.156778,6.498823 6.5634261,12.04404"
diff --git a/svg-flatten/testdata/svg/stroke_joins.svg b/svg-flatten/testdata/svg/stroke_joins.svg
index ee3e1ac..3694319 100644
--- a/svg-flatten/testdata/svg/stroke_joins.svg
+++ b/svg-flatten/testdata/svg/stroke_joins.svg
@@ -50,6 +50,7 @@
inkscape:current-layer="svg8"
inkscape:document-units="mm"
showguides="false" />
+ <rect width="100%" height="100%" fill="white"/>
<path
style="fill:none;stroke:#000000;stroke-width:5;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1;stroke-miterlimit:4;stroke-dasharray:none"
d="M 8.1209509,7.3978548 20.159949,7.3803896 9.2562029,14.249268 c 19.4757851,0.912458 -2.156778,6.498823 6.5634261,12.04404"
diff --git a/svg-flatten/testdata/svg/text.svg b/svg-flatten/testdata/svg/text.svg
index bd8c390..e08de4a 100644
--- a/svg-flatten/testdata/svg/text.svg
+++ b/svg-flatten/testdata/svg/text.svg
@@ -81,6 +81,7 @@
inkscape:current-layer="svg8"
inkscape:document-units="mm"
showguides="false" />
+ <rect width="100%" height="100%" fill="white"/>
<text
xml:space="preserve"
id="text3558"