Affects Version/s: 1.5
Fix Version/s: None
Environment:Operating System: other
The SVG pretty printer inserts whitespace between adjacent
<text><tspan> tags, semantically corrupting the SVG file.
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
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,
which weren't really doing anything in my case.