I have two SVG files, one of which is simply a pretty printed version
of the other (i.e., they have the exact same XML tag structure), yet
Batik displays them differently.

This seems to be because the original contains these tags

        <text ...><tspan>...</tspan></text>

and the pretty printer is inserting space between the <text> and
<tspan> tags. These spaces are then causing the text to be shifted
to the right when Batik displays the pretty-printed version.

I worked arond this problem simply by removing the <tspan> tags.

I filed this as bug #31605:
    http://issues.apache.org/bugzilla/show_bug.cgi?id=31605

Thanks,
-Archie

__________________________________________________________________________
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