diff options
Diffstat (limited to 'tests/arthur/data/1.1/render-elems-06-t.svg')
-rw-r--r-- | tests/arthur/data/1.1/render-elems-06-t.svg | 75 |
1 files changed, 75 insertions, 0 deletions
diff --git a/tests/arthur/data/1.1/render-elems-06-t.svg b/tests/arthur/data/1.1/render-elems-06-t.svg new file mode 100644 index 0000000..85d9834 --- /dev/null +++ b/tests/arthur/data/1.1/render-elems-06-t.svg @@ -0,0 +1,75 @@ +<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1 Tiny//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11-tiny.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-06-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 id="svg-root" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="100%" height="100%" viewBox="0 0 480 360" 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-t-c.svg">
+ <Paragraph>
+ Verifies that text can be filled. The
+ test shows two 'A' characters that are filled and not stroked.
+ </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-06-t</title>
+ <desc id="test-desc">This test validates that text can be both filled.</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" >
+ <!-- ====================================================================== -->
+ <!-- First, fill text with two different colors -->
+ <!-- ====================================================================== -->
+ <text x="180" y="40" font-size="30" >Text fill</text>
+ <g font-size="300" font-family="MyFont">
+ <text x="60" y="280" fill="red" >A</text>
+ <text x="260" y="280" fill="navy" >A</text>
+ </g>
+ </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"/>
+</svg>
+
|