[librsvg] tests: New test for bug #476507 - wrong orientation of arrow markers



commit 1ef73bd08cdfc920cf3db6f06d517dac56de1221
Author: Federico Mena Quintero <federico gnome org>
Date:   Thu Jul 2 19:18:39 2015 -0500

    tests: New test for bug #476507 - wrong orientation of arrow markers

 tests/bugs/476507-ref.png |  Bin 0 -> 9606 bytes
 tests/bugs/476507.svg     |   78 +++++++++++++++++++++++++++++++++++++++++++++
 tests/rsvg-test.txt       |    1 +
 3 files changed, 79 insertions(+), 0 deletions(-)
---
diff --git a/tests/bugs/476507-ref.png b/tests/bugs/476507-ref.png
new file mode 100644
index 0000000..e02d017
Binary files /dev/null and b/tests/bugs/476507-ref.png differ
diff --git a/tests/bugs/476507.svg b/tests/bugs/476507.svg
new file mode 100644
index 0000000..26029ea
--- /dev/null
+++ b/tests/bugs/476507.svg
@@ -0,0 +1,78 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!-- Created with Inkscape (http://www.inkscape.org/) -->
+
+<svg
+   xmlns:dc="http://purl.org/dc/elements/1.1/";
+   xmlns:cc="http://creativecommons.org/ns#";
+   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#";
+   xmlns:svg="http://www.w3.org/2000/svg";
+   xmlns="http://www.w3.org/2000/svg";
+   xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd";
+   xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape";
+   width="744.09448819"
+   height="1052.3622047"
+   id="svg4454"
+   version="1.1"
+   inkscape:version="0.48.3.1 r9886"
+   sodipodi:docname="New document 10">
+  <defs
+     id="defs4456">
+    <marker
+       inkscape:stockid="Arrow1Lend"
+       orient="auto"
+       refY="0"
+       refX="0"
+       id="Arrow1Lend"
+       style="overflow:visible">
+      <path
+         inkscape:connector-curvature="0"
+         id="path3786"
+         d="M 0,0 5,-5 -12.5,0 5,5 0,0 z"
+         style="fill-rule:evenodd;stroke:#000000;stroke-width:1pt"
+         transform="matrix(-0.8,0,0,-0.8,-10,0)" />
+    </marker>
+  </defs>
+  <sodipodi:namedview
+     id="base"
+     pagecolor="#ffffff"
+     bordercolor="#666666"
+     borderopacity="1.0"
+     inkscape:pageopacity="0.0"
+     inkscape:pageshadow="2"
+     inkscape:zoom="0.35"
+     inkscape:cx="375"
+     inkscape:cy="520"
+     inkscape:document-units="px"
+     inkscape:current-layer="layer1"
+     showgrid="false"
+     inkscape:window-width="472"
+     inkscape:window-height="383"
+     inkscape:window-x="600"
+     inkscape:window-y="271"
+     inkscape:window-maximized="0" />
+  <metadata
+     id="metadata4459">
+    <rdf:RDF>
+      <cc:Work
+         rdf:about="">
+        <dc:format>image/svg+xml</dc:format>
+        <dc:type
+           rdf:resource="http://purl.org/dc/dcmitype/StillImage"; />
+        <dc:title></dc:title>
+      </cc:Work>
+    </rdf:RDF>
+  </metadata>
+  <g
+     inkscape:label="Layer 1"
+     inkscape:groupmode="layer"
+     id="layer1">
+    <path
+       
style="fill:none;stroke:#000000;stroke-width:3.29999995;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker-end:url(#Arrow1Lend)"
+       d="m 237.45964,473.86553 c 0,0 133.56466,15.06684 176.97377,168.95554 2.11668,7.50381 
4.58183,16.60919 4.58183,16.60919"
+       id="path4227"
+       inkscape:connector-curvature="0"
+       sodipodi:nodetypes="csc"
+       inkscape:export-xdpi="57.75"
+       inkscape:export-ydpi="57.75" />
+  </g>
+</svg>
diff --git a/tests/rsvg-test.txt b/tests/rsvg-test.txt
index 8f80510..e9d2632 100644
--- a/tests/rsvg-test.txt
+++ b/tests/rsvg-test.txt
@@ -5,6 +5,7 @@
 
 bugs/388545
 bugs/403357
+bugs/476507
 bugs/548494
 bugs/563933
 bugs/605875


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]