Printing Text Problem in Java 7

Glen Tachibana <[email protected]>
Newsgroups gmane.text.xml.batik.user
Message-ID <[email protected]>
I'm having problems printing a simple SVG file consisting of 2 tspans in Java 7 (Java 6 is fine, as is viewing the SVG in Java 7) using Batik 1.6, 1.7, and 1.8pre.

This occurs in my own application as well as squiggle, on several different computers, on several different printers (even a PDF printer). Shortening the text in the second tspan allows it to print fine. Does anyone have any ideas on a possible workaround or maybe it's just something wrong with my file?

The file is attached to this bug: https://issues.apache.org/bugzilla/show_bug.cgi?id=53652

Also here:

<svg xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="-71 -26 117.48 60.96" xmlns="http://www.w3.org/2000/svg">
    <text font-size="12" text-anchor="middle"><tspan>Line 1</tspan><tspan x="0" dy="12.0000">Longer Line</tspan></text>
</svg>




Confidentiality Notice: This e-mail message, including any attachments, is for the sole use of the
intended recipient(s) and may contain confidential and privileged information. Unauthorized
review, use, disclosure or distribution is prohibited. If you are not the addressee indicated in this
message kindly notify the sender by reply e-mail and destroy all copies of the original message.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.