summaryrefslogtreecommitdiffstats
path: root/tests/arthur/data/1.1/render-elems-08-t.svg
diff options
context:
space:
mode:
Diffstat (limited to 'tests/arthur/data/1.1/render-elems-08-t.svg')
-rw-r--r--tests/arthur/data/1.1/render-elems-08-t.svg78
1 files changed, 78 insertions, 0 deletions
diff --git a/tests/arthur/data/1.1/render-elems-08-t.svg b/tests/arthur/data/1.1/render-elems-08-t.svg
new file mode 100644
index 0000000000..0ba2c543ab
--- /dev/null
+++ b/tests/arthur/data/1.1/render-elems-08-t.svg
@@ -0,0 +1,78 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1 Tiny//EN" "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">
+
+<!--======================================================================-->
+<!--= Copyright 2000 World Wide Web Consortium, (Massachusetts =-->
+<!--= Institute of Technology, Institut National de Recherche en =-->
+<!--= Informatique et en Automatique, Keio University). All Rights =-->
+<!--= Reserved. See http://www.w3.org/Consortium/Legal/. =-->
+<!--======================================================================-->
+<!-- ===================================================================== -->
+<!-- -->
+<!-- rendering-text-BE-02.svg -->
+<!-- renamed for 1.1 suite to render-elems-08-t.svg -->
+<!-- -->
+<!-- This test validates that text can be both filled and stroked. -->
+<!-- -->
+<!-- Author : Vincent Hardy, 29-Feb-2000 -->
+<!-- Revised for 1.1 : Phil Armstrong Feb/11/2002 -->
+<!-- -->
+<!-- History: -->
+<!-- 29-Feb-2000, VH: Created. Matches 20000302 SVG spec. -->
+<!-- 11-Mar-2000, LH=" fixed names, focus, ids, framing rect" removed -->
+<!-- ineffective "text-anchor="middle"" ser#3 -->
+<!-- 03-Aug-2000, LH=" update DOCTYPE for CR DTD, 20000802" ser# . -->
+<!-- 16-Aug-2000, LH: renaming, ser#4. -->
+<!-- -->
+<!-- ===================================================================== -->
+<!--======================================================================-->
+<!--= Note. After October 2000, revision history is kept as CVS 'commit' =-->
+<!--= log messages, and therefore is no longer in the preceding preamble.=-->
+<!--======================================================================-->
+<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" id="svg-root"
+ viewBox="0 0 480 360" width="100%" height="100%" version="1.1" baseProfile="tiny">
+ <SVGTestCase xmlns="http://www.w3.org/2000/02/svg/testsuite/description/">
+ <OperatorScript version="$Revision: 1.3 $" testname="render-elems-02-b-c.svg">
+ <Paragraph>
+ Verifies that text can be stroked.
+ The test
+ shows two 'A' characters that are both stroked and filled.
+ </Paragraph>
+ <Paragraph>
+ The rendered image should match the reference image except for the text which may
+ show minor layout differences.
+ </Paragraph>
+ </OperatorScript>
+ </SVGTestCase>
+ <title id="test-title">render-elems-08-t</title>
+ <desc id="test-desc">This test validates that text can be both filled and stroked.</desc>
+ <defs>
+ <font id="MyFont" horiz-adv-x="416" >
+ <font-face font-family="MyFont"
+ units-per-em="1000"
+ panose-1="2 0 0 6 3 0 0 2 0 4"
+ ascent="700"
+ descent="-127"/>
+ <missing-glyph horiz-adv-x="500"/>
+ <glyph unicode="A" glyph-name="A" horiz-adv-x="505" d="M73 700L5 0H155L170 165H335L350 0H500L432 700H73ZM183 315L205 550H300L322 315H183Z" />
+ <glyph unicode="B" glyph-name="B" horiz-adv-x="550" d="M40 700V0H510V280L423 350L510 420V700H40ZM360 550V471L306 420H190V550H360ZM190 280H306L360 229V150H190V280Z" />
+ </font>
+ </defs>
+
+ <!--======================================================================-->
+ <!--Content of Test Case follows... =====================-->
+ <!--======================================================================-->
+ <g id="test-body-content">
+ <!-- ====================================================================== -->
+ <!-- Now, fill and stroke. The fill should happen first -->
+ <!-- ====================================================================== -->
+ <text x="120" y="40" font-size="30" >Text fill and stroke</text>
+ <g font-size="300" font-family="MyFont">
+ <text x="60" y="280" fill="#f82" stroke="red" stroke-width="12">A</text>
+ <text x="260" y="280" fill="#9ae" stroke="navy" stroke-width="12">B</text>
+ </g>
+ <text id="revision" x="10" y="340" font-size="40" stroke="none" fill="black">$Revision: 1.3 $</text>
+ <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>
+ </g>
+</svg>
+