xmlgraphics-batik-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hill...@apache.org
Subject cvs commit: xml-batik/samples/tests/spec/text textBiDi.svg textFeatures.svg textLayout.svg textLayout2.svg textProperties.svg textStyles.svg verticalText.svg verticalTextOnPath.svg
Date Thu, 14 Mar 2002 10:56:30 GMT
hillion     02/03/14 02:56:30

  Modified:    samples/tests/spec/text textBiDi.svg textFeatures.svg
                        textLayout.svg textLayout2.svg textProperties.svg
                        textStyles.svg verticalText.svg
                        verticalTextOnPath.svg
  Log:
  - Removed more wrong usage of font-size percentages,
  - glyph-orientation-* values must be angles (ie. 270deg, not 270).
  
  Revision  Changes    Path
  1.4       +6 -6      xml-batik/samples/tests/spec/text/textBiDi.svg
  
  Index: textBiDi.svg
  ===================================================================
  RCS file: /home/cvs/xml-batik/samples/tests/spec/text/textBiDi.svg,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- textBiDi.svg	20 Nov 2001 15:08:27 -0000	1.3
  +++ textBiDi.svg	14 Mar 2002 10:56:30 -0000	1.4
  @@ -14,7 +14,7 @@
   <!-- Test description here                                                     -->
   <!--                                                                           -->
   <!-- @author bill.haneman@ireland.sun.com                                      -->
  -<!-- @version $Id: textBiDi.svg,v 1.3 2001/11/20 15:08:27 hillion Exp $            
                                                -->
  +<!-- @version $Id: textBiDi.svg,v 1.4 2002/03/14 10:56:30 hillion Exp $            
                                                -->
   <!-- ========================================================================= -->
   <?xml-stylesheet type="text/css" href="../../resources/style/test.css" ?>
   
  @@ -24,17 +24,17 @@
       <!-- ============================================================= -->
   
       <g id="testContent">
  -        <text class="title" x="50%" y="10%" font-size="3%" text-anchor="middle" >
  +        <text class="title" x="50%" y="10%" font-size="15" text-anchor="middle" >
               BiDi Text / International Text</text>
  -        <text x="50%" y="25%" font-size="2.5%" text-anchor="middle">Some text goes
<tspan fill="blue" direction="rtl" unicode-bidi="bidi-override">(right to left)</tspan>,
other text goes (left to right).</text>
  +        <text x="50%" y="25%" font-size="12.5" text-anchor="middle">Some text goes
<tspan fill="blue" direction="rtl" unicode-bidi="bidi-override">(right to left)</tspan>,
other text goes (left to right).</text>
         
  -        <text x="50%" y="30%" font-size="2.5%" text-anchor="middle">Some <tspan
fill="darkred" direction="rtl" unicode-bidi="embed">(embedded bidi)</tspan> text.</text>
  +        <text x="50%" y="30%" font-size="12.5" text-anchor="middle">Some <tspan
fill="darkred" direction="rtl" unicode-bidi="embed">(embedded bidi)</tspan> text.</text>
        
  -      <text style="font-style:oblique;font-size:2%;text-anchor:middle" x="50%" y="35%">
  +      <text style="font-style:oblique;font-size:10;text-anchor:middle" x="50%" y="35%">
                  Text selection allows visually discontiguous 
                  selections across bi-directional text.
           </text>
  -      <g font-family="dialog" font-size="3%" text-anchor="start">
  +      <g font-family="dialog" font-size="15" text-anchor="start">
           <text id="latin" fill="MidnightBlue" x="10%" y="45%">latin:
            ABCDEFG
            abcdefg
  
  
  
  1.3       +6 -6      xml-batik/samples/tests/spec/text/textFeatures.svg
  
  Index: textFeatures.svg
  ===================================================================
  RCS file: /home/cvs/xml-batik/samples/tests/spec/text/textFeatures.svg,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- textFeatures.svg	20 Nov 2001 15:08:28 -0000	1.2
  +++ textFeatures.svg	14 Mar 2002 10:56:30 -0000	1.3
  @@ -14,7 +14,7 @@
   <!-- Test description here                                                     -->
   <!--                                                                           -->
   <!-- @author bill.haneman@ireland.sun.com                                      -->
  -<!-- @version $Id: textFeatures.svg,v 1.2 2001/11/20 15:08:28 hillion Exp $        
                                                    -->
  +<!-- @version $Id: textFeatures.svg,v 1.3 2002/03/14 10:56:30 hillion Exp $        
                                                    -->
   <!-- ========================================================================= -->
   <?xml-stylesheet type="text/css" href="../../resources/style/test.css" ?>
   <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="450"
height="500" viewBox="0 0 450 500">
  @@ -29,14 +29,14 @@
       </defs>
   
       <g id="testContent">
  -        <text class="title" x="50%" y="10%" font-size="3%" text-anchor="middle" >
  +        <text class="title" x="50%" y="10%" font-size="15" text-anchor="middle" >
               Text Element Features</text>
  -      <g font-family="dialog" font-size="3%" 
  +      <g font-family="dialog" font-size="15" 
                     text-anchor="start" fill="MidnightBlue">
           <text x="10%" y="20%">
           Text can change 
  -        <tspan font-size="6%">size,</tspan>
  -        <tspan font-size="4%" font-family="Serif">typeface,</tspan> 
  +        <tspan font-size="30">size,</tspan>
  +        <tspan font-size="20" font-family="Serif">typeface,</tspan> 
           <tspan fill="green">color,</tspan>
           or 
           <tspan fill="none" font-style="oblique" stroke="red" stroke-width="1">style</tspan>
  @@ -81,7 +81,7 @@
           </text>
           <text x="10%" y="85%">Text elements also can be</text>
           <text x="10%" y="90%">filtered and transformed.</text>
  -        <g font-size="8%" transform="translate(250, 450)">  
  +        <g font-size="40" transform="translate(250, 450)">  
           <text x="0" y="0" filter="url(#blur)" fill="black" opacity="0.7"
            transform="skewX(40) translate(-6,-6)">
               Shadow
  
  
  
  1.3       +9 -9      xml-batik/samples/tests/spec/text/textLayout.svg
  
  Index: textLayout.svg
  ===================================================================
  RCS file: /home/cvs/xml-batik/samples/tests/spec/text/textLayout.svg,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- textLayout.svg	20 Nov 2001 15:08:28 -0000	1.2
  +++ textLayout.svg	14 Mar 2002 10:56:30 -0000	1.3
  @@ -14,7 +14,7 @@
   <!-- Test description here                                                     -->
   <!--                                                                           -->
   <!-- @author bill.haneman@ireland.sun.com                                      -->
  -<!-- @version $Id: textLayout.svg,v 1.2 2001/11/20 15:08:28 hillion Exp $          
                                                  -->
  +<!-- @version $Id: textLayout.svg,v 1.3 2002/03/14 10:56:30 hillion Exp $          
                                                  -->
   <!-- ========================================================================= -->
   <?xml-stylesheet type="text/css" href="../../resources/style/test.css" ?>
   <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="450"
height="500" viewBox="0 0 450 500">
  @@ -41,11 +41,11 @@
   
       </defs>
   
  -    <g id="testContent" text-anchor="start" font-size="6%" class="SerifPlain">
  -        <text text-anchor="middle" class="title" x="50%" y="10%" font-size="3%" >
  +    <g id="testContent" text-anchor="start" font-size="30" class="SerifPlain">
  +        <text text-anchor="middle" class="title" x="50%" y="10%" font-size="15" >
               Text Layout Properties</text>
          
  -       <text x="50%" y="15%" text-anchor="middle" font-size="2%">Explicit Glyph Positioning</text>
  +       <text x="50%" y="15%" text-anchor="middle" font-size="10">Explicit Glyph Positioning</text>
   
           <g>
               <text><tspan x="40,60,80,105,125,140" y="110">sample</tspan></text>
  @@ -63,7 +63,7 @@
   </text>
           </g>
   
  -       <text x="50%" y="30%" text-anchor="middle" font-size="2%">Letter Spacing Adjustment
and Explicit Length Specification</text>
  +       <text x="50%" y="30%" text-anchor="middle" font-size="10">Letter Spacing Adjustment
and Explicit Length Specification</text>
   
           <g>
               <text x="40" y="180" textLength="120">sample</text>
  @@ -111,19 +111,19 @@
               <text x="290" y="290" class="Caption">letter-spacing="10"</text>
           </g>
   
  -       <text x="50%" y="64%" text-anchor="middle" font-size="2%">Word Spacing Adjustment</text>
  +       <text x="50%" y="64%" text-anchor="middle" font-size="10">Word Spacing Adjustment</text>
   
  -        <g font-size="3%">
  +        <g font-size="10">
               <text x="40" y="350" textLength="350" word-spacing="3em">Wide separation
between words</text>
               <text x="40" y="365" class="Caption">textLength="350" word-spacing="3em"</text>
           </g>
   
  -        <g font-size="3%">
  +        <g font-size="10">
               <text x="40" y="395" textLength="350" word-spacing="-5">Narrow separation
between words</text>
               <text x="40" y="410" class="Caption">textLength="350" word-spacing="-5"</text>
           </g>
   
  -        <g font-size="3%">
  +        <g font-size="10">
               <text x="40" y="440" textLength="350" lengthAdjust="spacingAndGlyphs" word-spacing="-5">Narrow
separation between words</text>
               <text x="40" y="455" class="Caption">textLength="350" lengthAdjust="spacingAndGlyphs"
word-spacing="-5"</text>
           </g>
  
  
  
  1.3       +13 -13    xml-batik/samples/tests/spec/text/textLayout2.svg
  
  Index: textLayout2.svg
  ===================================================================
  RCS file: /home/cvs/xml-batik/samples/tests/spec/text/textLayout2.svg,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- textLayout2.svg	20 Nov 2001 15:08:28 -0000	1.2
  +++ textLayout2.svg	14 Mar 2002 10:56:30 -0000	1.3
  @@ -14,7 +14,7 @@
   <!-- Test description here                                                     -->
   <!--                                                                           -->
   <!-- @author bill.haneman@ireland.sun.com                                      -->
  -<!-- @version $Id: textLayout2.svg,v 1.2 2001/11/20 15:08:28 hillion Exp $         
                                                   -->
  +<!-- @version $Id: textLayout2.svg,v 1.3 2002/03/14 10:56:30 hillion Exp $         
                                                   -->
   <!-- ========================================================================= -->
   <?xml-stylesheet type="text/css" href="../../resources/style/test.css" ?>
   <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="450"
height="500" viewBox="0 0 450 500">
  @@ -41,43 +41,43 @@
   
       </defs>
   
  -    <g id="testContent" text-anchor="start" font-size="6%" class="SerifPlain">
  -        <text text-anchor="middle" class="title" x="50%" y="10%" font-size="3%" >
  +    <g id="testContent" text-anchor="start" font-size="30" class="SerifPlain">
  +        <text text-anchor="middle" class="title" x="50%" y="10%" font-size="15" >
               Text Layout Properties (2)</text>
   
  -        <text x="50%" y="15%" text-anchor="middle" font-size="2%">Baseline Properties</text>
  +        <text x="50%" y="15%" text-anchor="middle" font-size="10">Baseline Properties</text>
   
           <g text-anchor="middle">
  -            <text x="225" y="110" font-size="3%"><tspan baseline-shift="super"
fill="blue">super</tspan> and <tspan baseline-shift="sub" fill="green">sub</tspan>scripts</text>
  +            <text x="225" y="110" font-size="15"><tspan baseline-shift="super"
fill="blue">super</tspan> and <tspan baseline-shift="sub" fill="green">sub</tspan>scripts</text>
               <text x="225" y="135" class="Caption">baseline-shift="super"/baseline-shift="sub"</text>
           </g>
   
           <g text-anchor="middle">
  -            <text x="225" y="165" font-size="3%"><tspan baseline-shift="+20%"
fill="blue">positive</tspan> and <tspan baseline-shift="-20%" fill="green">negative
</tspan>baseline-shift</text>
  +            <text x="225" y="165" font-size="15"><tspan baseline-shift="+20%"
fill="blue">positive</tspan> and <tspan baseline-shift="-20%" fill="green">negative
</tspan>baseline-shift</text>
               <text x="225" y="180" class="Caption">baseline-shift="+/-20%"</text>
           </g>
  -        <text x="50%" y="42%" text-anchor="middle" font-size="2%">Multi-line Text
Selection</text>
  +        <text x="50%" y="42%" text-anchor="middle" font-size="10">Multi-line Text
Selection</text>
   
  -        <text x="50%" y="45%" text-anchor="middle" font-size="1.5%" font-style="italic">(Try
selecting the following text regions)</text>
  +        <text x="50%" y="45%" text-anchor="middle" font-size="7.5" font-style="italic">(Try
selecting the following text regions)</text>
   
  -        <text text-anchor="start" font-size="3%">
  +        <text text-anchor="start" font-size="15">
   	    <tspan x="120" y="50%">Text selections can span multiple</tspan>
             <tspan x="120" y="53%">lines via &lt;tspan&gt; elements.</tspan>
           </text>
   
  -        <text text-anchor="start" fill="blue" font-size="4%" transform="translate(90,
360)">
  +        <text text-anchor="start" fill="blue" font-size="20" transform="translate(90,
360)">
             <tspan x="0 10 25 50 75 90 100 90 75 50 25 10 0" 
                    y="0 -25 -40 -50 -40 -25 0 25 40 50 40 25 10 0">Text-circle.</tspan>
           </text>
   
  -        <text fill="green" font-size="4%" transform="translate(250, 320)"
  +        <text fill="green" font-size="20" transform="translate(250, 320)"
               x="0 20 40 60 80 80 80 80 80 60 40 20 0 0 0 0" 
               y="0 0 0 0 0 20 40 60 80 80 80 80 80 60 40 20">
               Text-in-a-square
           </text>
   
  -        <text font-size="3%" x="225" y="450" text-anchor="middle">Text with <tspan
rotate="10 -10 10 -10 10 -10 10" fill="red">rotated</tspan> glyphs</text>
  -        <text font-size="3%" x="225" y="465" text-anchor="middle" rotate="15">More
rotated glyphs</text>
  +        <text font-size="15" x="225" y="450" text-anchor="middle">Text with <tspan
rotate="10 -10 10 -10 10 -10 10" fill="red">rotated</tspan> glyphs</text>
  +        <text font-size="15" x="225" y="465" text-anchor="middle" rotate="15">More
rotated glyphs</text>
   
       </g>
   
  
  
  
  1.3       +15 -15    xml-batik/samples/tests/spec/text/textProperties.svg
  
  Index: textProperties.svg
  ===================================================================
  RCS file: /home/cvs/xml-batik/samples/tests/spec/text/textProperties.svg,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- textProperties.svg	20 Nov 2001 15:08:28 -0000	1.2
  +++ textProperties.svg	14 Mar 2002 10:56:30 -0000	1.3
  @@ -14,7 +14,7 @@
   <!-- Test description here                                                     -->
   <!--                                                                           -->
   <!-- @author bill.haneman@ireland.sun.com                                      -->
  -<!-- @version $Id: textProperties.svg,v 1.2 2001/11/20 15:08:28 hillion Exp $      
                                                      -->
  +<!-- @version $Id: textProperties.svg,v 1.3 2002/03/14 10:56:30 hillion Exp $      
                                                      -->
   <!-- ========================================================================= -->
   <?xml-stylesheet type="text/css" href="../../resources/style/test.css" ?>
   
  @@ -42,10 +42,10 @@
       </defs>
   
       <g id="testContent" text-anchor="middle">
  -        <text class="title" x="50%" y="10%" font-size="3%" >
  +        <text class="title" x="50%" y="10%" font-size="15" >
               Text Alignment, Geometry, References, and Spans</text>
   
  -        <g font-size="3%">
  +        <g font-size="15">
               <line x1="50%" y1="14%" x2="50%" y2="28%" stroke="Gray" stroke-width="1"/>
               <text x="50%"  y="18%" text-anchor="start" fill="MidnightBlue">
                  text-anchor="start"</text>
  @@ -62,8 +62,8 @@
           </g>       
   
           <g transform="translate(225, 180)">
  -            <text font-size="6%">sample</text>
  -            <text y="15" style="Caption">font-size="6%"</text>
  +            <text font-size="30">sample</text>
  +            <text y="15" style="Caption">font-size="30"</text>
           </g>       
   
           <g transform="translate(350, 180)">
  @@ -72,12 +72,12 @@
           </g>       
   
           <g transform="translate(100, 225)">
  -            <text font-size="6%"><tref xlink:href="#sample"/></text>
  +            <text font-size="30"><tref xlink:href="#sample"/></text>
               <text y="15" style="Caption">referenced text via &lt;tref&gt;</text>
           </g>       
   
           <g transform="translate(225, 225)">
  -            <text font-size="6%">
  +            <text font-size="30">
               sa<tspan font-family="Serif" font-weight="bold" fill="DarkRed"
               text-decoration="underline" >m</tspan>ple
               </text>
  @@ -85,45 +85,45 @@
           </g>       
   
           <g transform="translate(350, 225)">
  -            <g font-size="6%">
  +            <g font-size="30">
                   <use xlink:href="#sample"/>
               </g>
               <text y="15" style="Caption">predefined text via &lt;use&gt;</text>
           </g>       
    
  -        <text x="50%" y="280" font-size="3%" >
  +        <text x="50%" y="280" font-size="15" >
               Text Rendering Properties</text>
   
           <g transform="translate(100, 305)">
  -            <g font-size="6%" transform="rotate(180)">
  +            <g font-size="30" transform="rotate(180)">
                   <use xlink:href="#sample"/>
               </g>
               <text y="30" style="Caption">transform="rotate(180)"</text>
           </g>       
   
           <g transform="translate(225, 320)">
  -            <g font-size="6%" opacity="0.5">
  +            <g font-size="30" opacity="0.5">
                   <use xlink:href="#sample"/>
               </g>
               <text y="15" style="Caption">opacity="0.5"</text>
           </g>       
   
           <g transform="translate(350, 320)">
  -            <g font-size="6%" fill="DarkRed">
  +            <g font-size="30" fill="DarkRed">
                   <use xlink:href="#sample"/>
               </g>
               <text y="15" style="Caption">fill="DarkRed"</text>
           </g>       
   
           <g transform="translate(100, 370)">
  -            <g font-size="6%" filter="url(#gaussianBlur)">
  +            <g font-size="30" filter="url(#gaussianBlur)">
                   <use xlink:href="#sample"/>
               </g>
               <text y="15" style="Caption">filter="url(#gaussianBlur)"</text>
           </g>       
   
           <g transform="translate(225, 370)">
  -            <g font-size="6%" fill="yellow" stroke="MidnightBlue">
  +            <g font-size="30" fill="yellow" stroke="MidnightBlue">
                   <use xlink:href="#sample"/>
               </g>
               <text y="15" style="Caption">fill="yellow";</text>
  @@ -132,7 +132,7 @@
   
   <defs>
       <clipPath id="textClip">
  -        <text font-size="6%">sample</text>
  +        <text font-size="30">sample</text>
       </clipPath>
       <linearGradient id="gradient" gradientUnits="userSpaceOnUse"
        x1="-50" y1="-25" x2="50" y2="25">
  
  
  
  1.3       +6 -6      xml-batik/samples/tests/spec/text/textStyles.svg
  
  Index: textStyles.svg
  ===================================================================
  RCS file: /home/cvs/xml-batik/samples/tests/spec/text/textStyles.svg,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- textStyles.svg	20 Nov 2001 15:08:28 -0000	1.2
  +++ textStyles.svg	14 Mar 2002 10:56:30 -0000	1.3
  @@ -14,7 +14,7 @@
   <!-- Test description here                                                     -->
   <!--                                                                           -->
   <!-- @author bill.haneman@ireland.sun.com                                      -->
  -<!-- @version $Id: textStyles.svg,v 1.2 2001/11/20 15:08:28 hillion Exp $          
                                                  -->
  +<!-- @version $Id: textStyles.svg,v 1.3 2002/03/14 10:56:30 hillion Exp $          
                                                  -->
   <!-- ========================================================================= -->
   <?xml-stylesheet type="text/css" href="../../resources/style/test.css" ?>
   <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="450"
height="500" viewBox="0 0 450 500">
  @@ -107,11 +107,11 @@
   
       </defs>
   
  -    <g id="testContent" text-anchor="middle" font-size="6%">
  -        <text class="title" x="50%" y="10%" font-size="3%" >
  +    <g id="testContent" text-anchor="middle" font-size="30">
  +        <text class="title" x="50%" y="10%" font-size="15" >
               Text Font Faces and Styles</text>
          
  -       <text x="50%" y="15%" font-size="2%">Standard Font Faces</text>
  +       <text x="50%" y="15%" font-size="10">Standard Font Faces</text>
   
           <g transform="translate(100, 110)" class="SansSerifPlain">
               <use xlink:href="#sample"/>
  @@ -173,8 +173,8 @@
               <text y="15" class="Caption">stroke-width=1, fill=none</text>
           </g>
   
  -        <text x="50%" y="62%" font-size="2%">Named Font Families</text>
  -        <text x="50%" y="65%" font-size="2%" font-style="oblique">
  +        <text x="50%" y="62%" font-size="10">Named Font Families</text>
  +        <text x="50%" y="65%" font-size="10" font-style="oblique">
               (Not all typefaces are available on all systems.)
           </text>
   
  
  
  
  1.4       +7 -7      xml-batik/samples/tests/spec/text/verticalText.svg
  
  Index: verticalText.svg
  ===================================================================
  RCS file: /home/cvs/xml-batik/samples/tests/spec/text/verticalText.svg,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- verticalText.svg	20 Nov 2001 15:08:28 -0000	1.3
  +++ verticalText.svg	14 Mar 2002 10:56:30 -0000	1.4
  @@ -14,7 +14,7 @@
   <!-- Vertical <text>                                                         
 -->
   <!--                                                                           -->
   <!-- @author dean.jackson@cmis.csiro.au                                       -->
  -<!-- @version $Id: verticalText.svg,v 1.3 2001/11/20 15:08:28 hillion Exp $     -->
  +<!-- @version $Id: verticalText.svg,v 1.4 2002/03/14 10:56:30 hillion Exp $     -->
   <!-- ========================================================================= -->
   <?xml-stylesheet type="text/css" href="../../resources/style/test.css" ?>  
   
  @@ -58,23 +58,23 @@
   
           <text x="50" y="75" writing-mode="tb" font-size="15">Writing top to bottom&#x753b;&#x50cf;</text>
           <text x="100" y="75" glyph-orientation-vertical="auto" writing-mode="tb" font-size="15">Glyph
Orientation:auto&#x753b;&#x50cf;</text>
  -        <text id="orient0"   x="150" y="75" glyph-orientation-vertical="0" 
  +        <text id="orient0"   x="150" y="75" glyph-orientation-vertical="0deg" 
                 writing-mode="tb" font-size="15">Glyph Orientation:0&#x753b;&#x50cf;</text>
  -        <text id="orient90"  x="200" y="75" glyph-orientation-vertical="90" 
  +        <text id="orient90"  x="200" y="75" glyph-orientation-vertical="90deg" 
                 writing-mode="tb" font-size="15">Glyph Orientation:90&#x753b;&#x50cf;</text>
  -        <text id="orient180" x="250" y="75" glyph-orientation-vertical="180" 
  +        <text id="orient180" x="250" y="75" glyph-orientation-vertical="180deg" 
                 writing-mode="tb" font-size="15">Glyph Orientation:180&#x753b;&#x50cf;</text>
  -        <text id="orient270" x="300" y="75" glyph-orientation-vertical="270" 
  +        <text id="orient270" x="300" y="75" glyph-orientation-vertical="270deg" 
                 writing-mode="tb" font-size="15">Glyph Orientation:270&#x753b;&#x50cf;</text>
           <text x="350" y="75" writing-mode="tb" font-size="15">Embedded <tspan
fill="red">&lt;tspan&gt;</tspan> element</text>
  -        <text x="400" y="75" writing-mode="tb" font-size="15">Embedded <tspan
fill="blue" glyph-orientation-vertical="0">orientated</tspan> element</text>
  +        <text x="400" y="75" writing-mode="tb" font-size="15">Embedded <tspan
fill="blue" glyph-orientation-vertical="0deg">orientated</tspan> element</text>
          
   
   
         
   	  <g transform="translate(40,450)">
               <use xlink:href="#Path1" style="fill:none; stroke:blue; stroke-width:2"/>
  -	      <text font-size="12" writing-mode="tb" glyph-orientation-vertical="0">
  +	      <text font-size="12" writing-mode="tb" glyph-orientation-vertical="0deg">
                   <textPath xlink:href="#Path1">Vertical text on a Path&#x753b;&#x50cf;</textPath>
               </text>
            </g>
  
  
  
  1.4       +16 -16    xml-batik/samples/tests/spec/text/verticalTextOnPath.svg
  
  Index: verticalTextOnPath.svg
  ===================================================================
  RCS file: /home/cvs/xml-batik/samples/tests/spec/text/verticalTextOnPath.svg,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- verticalTextOnPath.svg	20 Nov 2001 15:08:28 -0000	1.3
  +++ verticalTextOnPath.svg	14 Mar 2002 10:56:30 -0000	1.4
  @@ -14,7 +14,7 @@
   <!-- Tests vertical text on a path                                              -->
   <!--                                                                           -->
   <!-- @author bella.robinson@cmis.csiro.au                                      -->
  -<!-- @version $Id: verticalTextOnPath.svg,v 1.3 2001/11/20 15:08:28 hillion Exp $  
     -->
  +<!-- @version $Id: verticalTextOnPath.svg,v 1.4 2002/03/14 10:56:30 hillion Exp $  
     -->
   <!-- ========================================================================= -->
   <?xml-stylesheet type="text/css" href="../../resources/style/test.css" ?>  
   
  @@ -50,71 +50,71 @@
   
            <g transform="translate(150,70)">
               <use xlink:href="#Path1" style="fill:none; stroke:blue; stroke-width:2"/>
  -	      <text font-size="15" style="text-anchor:middle" writing-mode="tb" glyph-orientation-vertical="0">
  +	      <text font-size="15" style="text-anchor:middle" writing-mode="tb" glyph-orientation-vertical="0deg">
                   <textPath xlink:href="#Path1" startOffset="0%">Text <tspan fill="red"
dx="10">on</tspan><tspan dx="-10"> a Path</tspan></textPath>
               </text>
   		<text font-size="10" x="35" y="60">startOffset="0%"</text>
               <text font-size="10" x="35" y="70">text-anchor="middle"</text>
  -            <text font-size="10" x="35" y="80">glyph-orientation="0"</text>
  +            <text font-size="10" x="35" y="80">glyph-orientation="0deg"</text>
            </g>
   
            <g transform="translate(300,70)">
               <use xlink:href="#Path1" style="fill:none; stroke:blue; stroke-width:2"/>
  -	      <text font-size="15" style="text-anchor:end" writing-mode="tb" glyph-orientation-vertical="180">
  +	      <text font-size="15" style="text-anchor:end" writing-mode="tb" glyph-orientation-vertical="180deg">
                   <textPath xlink:href="#Path1" startOffset="50%">Text <tspan fill="red"
dx="10">on</tspan><tspan dx="-10"> a Path</tspan></textPath>
               </text>
   		<text font-size="10" x="35" y="60">startOffset="50%"</text>
               <text font-size="10" x="35" y="70">text-anchor="end"</text>
  -            <text font-size="10" x="35" y="80">glyph-orientation="180"</text>
  +            <text font-size="10" x="35" y="80">glyph-orientation="180deg"</text>
            </g>
   
   
            <g transform="translate(0,170)">
               <use xlink:href="#Path1" style="fill:none; stroke:blue; stroke-width:2"/>
  -	      <text font-size="15" style="text-anchor:start" writing-mode="tb" glyph-orientation-vertical="270">
  +	      <text font-size="15" style="text-anchor:start" writing-mode="tb" glyph-orientation-vertical="270deg">
                   <textPath xlink:href="#Path1" startOffset="50%">Text <tspan fill="red"
dx="10">on</tspan><tspan dx="-10"> a Path</tspan></textPath>
               </text>
               <text font-size="10" x="35" y="60">startOffset="50%"</text>
               <text font-size="10" x="35" y="70">text-anchor="start"</text>
  -            <text font-size="10" x="35" y="80">glyph-orientation="270"</text>
  +            <text font-size="10" x="35" y="80">glyph-orientation="270deg"</text>
            </g>
   
   
            <g transform="translate(150,170)">
               <use xlink:href="#Path1" style="fill:none; stroke:blue; stroke-width:2"/>
  -	      <text font-size="15" style="text-anchor:middle" writing-mode="tb" glyph-orientation-vertical="0">
  +	      <text font-size="15" style="text-anchor:middle" writing-mode="tb" glyph-orientation-vertical="0deg">
                   <textPath xlink:href="#Path1" startOffset="50%">Text <tspan fill="red"
dx="10">on</tspan><tspan dx="-10"> a Path</tspan></textPath>
               </text>
               <text font-size="10" x="35" y="60">startOffset="50%"</text>
               <text font-size="10" x="35" y="70">text-anchor="middle"</text>
  -            <text font-size="10" x="35" y="80">glyph-orientation="0"</text>
  +            <text font-size="10" x="35" y="80">glyph-orientation="0deg"</text>
            </g>
   
            <g transform="translate(300,170)">
               <use xlink:href="#Path1" style="fill:none; stroke:blue; stroke-width:2"/>
  -	      <text font-size="15" style="text-anchor:end" writing-mode="tb" glyph-orientation-vertical="90">
  +	      <text font-size="15" style="text-anchor:end" writing-mode="tb" glyph-orientation-vertical="90deg">
                   <textPath xlink:href="#Path1" startOffset="100%">Text <tspan fill="red"
dx="10">on</tspan><tspan dx="-10"> a Path</tspan></textPath>
               </text>
               <text font-size="10" x="35" y="60">startOffset="100%"</text>
               <text font-size="10" x="35" y="70">text-anchor="end"</text>
  -            <text font-size="10" x="35" y="80">glyph-orientation="90"</text>
  +            <text font-size="10" x="35" y="80">glyph-orientation="90deg"</text>
            </g>
   
   
           <g transform="translate(0,270)">
               <use xlink:href="#Path1" style="fill:none; stroke:blue; stroke-width:2"/>
  -	      <text font-size="15" style="text-anchor:start" writing-mode="tb" glyph-orientation-vertical="180">
  +	      <text font-size="15" style="text-anchor:start" writing-mode="tb" glyph-orientation-vertical="180deg">
                   <textPath xlink:href="#Path1" startOffset="35">Text <tspan fill="red"
dx="10">on</tspan><tspan dx="-10"> a Path</tspan></textPath>
               </text>
               <text font-size="10" x="35" y="60">startOffset="35"</text>
               <text font-size="10" x="35" y="70">text-anchor="start"</text>
  -            <text font-size="10" x="35" y="80">glyph-orientation="180"</text>
  +            <text font-size="10" x="35" y="80">glyph-orientation="180deg"</text>
            </g>
   
   
            <g transform="translate(150,270)">
               <use xlink:href="#Path1" style="fill:none; stroke:blue; stroke-width:2"/>
  -	      <text font-size="15" style="text-anchor:middle" writing-mode="tb" glyph-orientation-vertical="270">
  +	      <text font-size="15" style="text-anchor:middle" writing-mode="tb" glyph-orientation-vertical="270deg">
                   <textPath xlink:href="#Path1" startOffset="35">Text <tspan fill="red"
dx="10">on</tspan><tspan dx="-10"> a Path</tspan></textPath>
               </text>
               <text font-size="10" x="35" y="60">startOffset="35"</text>
  @@ -123,12 +123,12 @@
   
            <g transform="translate(300,270)">
               <use xlink:href="#Path1" style="fill:none; stroke:blue; stroke-width:2"/>
  -	      <text font-size="15" style="text-anchor:end" writing-mode="tb" glyph-orientation-vertical="90">
  +	      <text font-size="15" style="text-anchor:end" writing-mode="tb" glyph-orientation-vertical="90deg">
                   <textPath xlink:href="#Path1" startOffset="35">Text <tspan fill="red"
dx="10">on</tspan><tspan dx="-10"> a Path</tspan></textPath>
               </text>
               <text font-size="10" x="35" y="60">startOffset="35"</text>
               <text font-size="10" x="35" y="70">text-anchor="end"</text>
  -            <text font-size="10" x="35" y="80">glyph-orientation="90"</text>
  +            <text font-size="10" x="35" y="80">glyph-orientation="90deg"</text>
            </g>
   
   
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: batik-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: batik-dev-help@xml.apache.org


Mime
View raw message