tkormann    01/10/19 01:45:18

  Modified:    test-resources/org/apache/batik/test samplesRendering.xml
  Added:       samples/tests/spec/coordinates em.svg
  Log:
  add a new test for 'em' units
  
  Revision  Changes    Path
  1.1                  xml-batik/samples/tests/spec/coordinates/em.svg
  
  Index: em.svg
  ===================================================================
  <?xml version="1.0" standalone="no"?>
  <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.0//EN"
  "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd";>
  
  <!-- ========================================================================= -->
  <!-- Copyright (C) The Apache Software Foundation. All rights reserved.        -->
  <!--                                                                           -->
  <!-- This software is published under the terms of the Apache Software License -->
  <!-- version 1.1, a copy of which has been included with this distribution in  -->
  <!-- the LICENSE file.                                                         -->
  <!-- ========================================================================= -->
  
  <!-- ========================================================================= -->
  <!--  Test 'em' and units                                                      -->
  <!--                                                                           -->
  <!-- @author [EMAIL PROTECTED]                                               -->
  <!-- @version $Id: em.svg,v 1.1 2001/10/19 08:45:18 tkormann Exp $ -->
  <!-- ========================================================================= -->
  
  <?xml-stylesheet type="text/css" href="../../resources/style/test.css" ?>
  
  
  <svg id="body" width="450" height="500" viewBox="0 0 450 500">
  <title>Test 'em' units</title>
      <!-- ============================================================= -->
      <!-- Test content                                                  -->
      <!-- ============================================================= -->
  <g id="testContent">
    <text x="225" y="50" class="title">Test 'em' units</text>
  </g>
  
  <g style="fill:none; stroke:black" transform="translate(20 0)">
  
        <line x1="0" y1="80" x2="300" y2="80" />
        <text x="0" y="94" style="stroke:none; fill:black; font-size:12">width: 
300</text>
  
        <line x1="0" y1="110" x2="30em" y2="110" font-size="10"/>
        <text x="0" y="124" style="stroke:none; fill:black; font-size:12">width: 30em 
/ font-size: 10</text>
  
        <line x1="0" y1="140" x2="60em" y2="140" font-size="5"/>
        <text x="0" y="154" style="stroke:none; fill:black; font-size:12">width: 60em 
/ font-size: 5</text>
  
        <line x1="0" y1="170" x2="30em" y2="170" font-size="10px"/>
        <text x="0" y="184" style="stroke:none; fill:black; font-size:12">width: 30em 
/ font-size: 10px</text>
  
        <line x1="0" y1="200" x2="60em" y2="200" font-size="5px"/>
        <text x="0" y="214" style="stroke:none; fill:black; font-size:12">width: 60em 
/ font-size: 5px</text>
  
        <g font-size="2">
                <line x1="0" y1="230" x2="30em" y2="230" font-size="5em"/>
                <text x="0" y="244" style="stroke:none; fill:black; 
font-size:12">width: 30em / font-size: 5em / parent font-size: 2</text>
        </g>
  
        <g font-size="2px">
                <line x1="0" y1="260" x2="30em" y2="260" font-size="5em"/>
                <text x="0" y="274" style="stroke:none; fill:black; 
font-size:12">width: 30em / font-size: 5em / parent font-size: 2px</text>
        </g>
  
        <line x1="0" y1="290" x2="30em" y2="290" font-size="7.5pt"/>
        <text x="0" y="304" style="stroke:none; fill:black; font-size:12">width: 30em 
/ font-size: 7.5pt (96dpi)</text>
  
        <g font-size="3.75pt">
                <line x1="0" y1="320" x2="30em" y2="320" font-size="2em"/>
                <text x="0" y="334" style="stroke:none; fill:black; 
font-size:12">width: 30em / font-size: 2em / parent font-size: 3.75pt (96dpi)</text>
        </g>
  
  </g>
  
  <!-- ============================================================= -->
  <!-- Batik sample mark                                             -->
  <!-- ============================================================= -->
  <use xlink:href="../../../batikLogo.svg#Batik_Tag_Box" />
      
  </svg>
  
  
  
  1.41      +2 -1      
xml-batik/test-resources/org/apache/batik/test/samplesRendering.xml
  
  Index: samplesRendering.xml
  ===================================================================
  RCS file: 
/home/cvs/xml-batik/test-resources/org/apache/batik/test/samplesRendering.xml,v
  retrieving revision 1.40
  retrieving revision 1.41
  diff -u -r1.40 -r1.41
  --- samplesRendering.xml      2001/10/19 07:40:40     1.40
  +++ samplesRendering.xml      2001/10/19 08:45:18     1.41
  @@ -8,7 +8,7 @@
   
   <!-- ========================================================================= -->
   <!-- @author [EMAIL PROTECTED]                                         -->
  -<!-- @version $Id: samplesRendering.xml,v 1.40 2001/10/19 07:40:40 vhardy Exp $ -->
  +<!-- @version $Id: samplesRendering.xml,v 1.41 2001/10/19 08:45:18 tkormann Exp $ 
-->
   <!-- ========================================================================= -->
   <testSuite id="samplesRendering" name="samples and samples/test Rendering" 
class="org.apache.batik.test.svg.SamplesRenderingTest">
   
  @@ -60,6 +60,7 @@
   
       <testGroup id="tests.spec.coordinates">
           <test id="samples/tests/spec/coordinates/percentagesAndUnits.svg" />
  +        <test id="samples/tests/spec/coordinates/em.svg" />
       </testGroup>
   
       <testGroup id="tests.spec.filters">
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to