You are viewing a plain text version of this content. The canonical link for it is here.
Posted to batik-users@xmlgraphics.apache.org by Glen Tachibana <gl...@syncadd.com> on 2012/09/06 00:13:17 UTC

Printing Text Problem in Java 7

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.


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