[lasem] tests: more useful text as pattern test file.



commit 104bc9ce8263633e6fde487f738eff5440fc9600
Author: Emmanuel Pacaud <emmanuel gnome org>
Date:   Wed Aug 11 14:09:21 2010 +0200

    tests: more useful text as pattern test file.

 test/svg/misc/text-as-pattern-for-text.svg |   46 +++++++++++++
 test/svg/misc/text-as-pattern.svg          |   95 ----------------------------
 2 files changed, 46 insertions(+), 95 deletions(-)
---
diff --git a/test/svg/misc/text-as-pattern-for-text.svg b/test/svg/misc/text-as-pattern-for-text.svg
new file mode 100644
index 0000000..946c447
--- /dev/null
+++ b/test/svg/misc/text-as-pattern-for-text.svg
@@ -0,0 +1,46 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!-- Created with Inkscape (http://www.inkscape.org/) -->
+
+<svg
+   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";
+   version="1.1"
+   width="800"
+   height="200"
+   id="svg2">
+  <defs
+     id="defs4">
+    <pattern
+       id="pattern2824"
+       patternTransform="translate(17.426339,736.62111)"
+       height="30.96875"
+       width="120.57812"
+       patternUnits="userSpaceOnUse">
+      <text
+         xml:space="preserve"
+         style="font-size:32px;font-style:normal;font-weight:normal;fill:#000000;fill-opacity:1;stroke:none;font-family:Bitstream Vera Sans"
+         x="-3.140625"
+         y="24.3125"
+         id="text2820"><tspan
+           sodipodi:role="line"
+           id="tspan2822"
+           x="-3.140625"
+           y="24.3125">Bonjour</tspan></text>
+    </pattern>
+  </defs>
+  <g
+     transform="translate(0,-852.36218)"
+     id="layer1">
+    <text
+       x="20"
+       y="182.85715"
+       transform="translate(0,852.36218)"
+       id="text2816"
+       xml:space="preserve"
+       style="font-size:180px;font-style:normal;font-weight:bold;fill:url(#pattern2824);fill-opacity:1;stroke:none;font-family:Bitstream Vera Sans;-inkscape-font-specification:Andale Mono Bold"><tspan
+         x="20"
+         y="182.85715"
+         id="tspan2818">Texte !</tspan></text>
+  </g>
+</svg>



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