[librsvg] Add test for bgo#738367 - incorrect handling of V/v/H/h commands in path



commit f8d37dfb240f0ecb90a91ce534829ec7ac279071
Author: Federico Mena Quintero <federico gnome org>
Date:   Fri Mar 13 12:44:53 2015 -0600

    Add test for bgo#738367 - incorrect handling of V/v/H/h commands in path

 tests/bugs/738367-ref.png |  Bin 0 -> 4184 bytes
 tests/bugs/738367.svg     |    7 +++++++
 tests/rsvg-test.txt       |    1 +
 3 files changed, 8 insertions(+), 0 deletions(-)
---
diff --git a/tests/bugs/738367-ref.png b/tests/bugs/738367-ref.png
new file mode 100644
index 0000000..e1d0bbb
Binary files /dev/null and b/tests/bugs/738367-ref.png differ
diff --git a/tests/bugs/738367.svg b/tests/bugs/738367.svg
new file mode 100644
index 0000000..00860a4
--- /dev/null
+++ b/tests/bugs/738367.svg
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<svg id="svg2" xmlns="http://www.w3.org/2000/svg"; viewBox="0 0 800 300" version="1.1">
+  <path fill="#AAA" stroke="#F00" d="m100,50c100,0,100,100,0,150s-100,50,0,50z"/>
+  <path fill="#AAA" stroke="#F00" d="m300,50c100,0,100,100,0,150h0s-100,50,0,50z"/>
+  <path fill="#AAA" stroke="#F00" d="m500,50c100,0,100,100,0,150v0s-100,50,0,50z"/>
+  <path fill="#AAA" stroke="#F00" d="m700,50c100,0,100,100,0,150l0,0s-100,50,0,50z"/>
+</svg>
diff --git a/tests/rsvg-test.txt b/tests/rsvg-test.txt
index 6f519a0..ca9749e 100644
--- a/tests/rsvg-test.txt
+++ b/tests/rsvg-test.txt
@@ -7,6 +7,7 @@ bugs/388545
 bugs/403357
 bugs/548494
 bugs/563933
+bugs/738367
 samples/artwork
 samples/butterfly
 samples/arrows


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