I've seen this before. It's because of the whitespace in between your
tags. Try putting all your XML tags together and/or adding xml:space
attributes.

I'm not sure if Batik is actually supposed to ignore this extra
whitespace or not.

On 1/3/07, Joel Uckelman <[EMAIL PROTECTED]> wrote:
I found what I think is a rendering bug in Batik 1.6:

The following SVG

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
   xmlns:svg="http://www.w3.org/2000/svg";
   xmlns="http://www.w3.org/2000/svg";
   xmlns:xlink="http://www.w3.org/1999/xlink";
   width="200" height="200">
  <text style="font-size:14px;text-anchor:end;fill:black;fill-opacity:1" >
   <tspan x="100" y="15">*</tspan>
   <tspan x="100" y="30">1</tspan>
   <tspan x="100" y="45">1</tspan>
  </text>
  <text style="font-size:14px;text-anchor:end;fill:black;fill-opacity:1" >
   <tspan x="50" y="15">*</tspan>
   <tspan x="50" y="30">8</tspan>
   <tspan x="50" y="45">8</tspan>
  </text>
</svg>

when rendered by Batik, gives me output like this:

   *     *
   8     1
   8      1

I don't see why this should be the case. Shouldn't the two 1s start
at the same horizontal position?

--
J.

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




--

__________________________________________________________________________
Archie Cobbs      *        CTO, Awarix        *      http://www.awarix.com

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

Reply via email to