[ 
https://issues.apache.org/jira/browse/BATIK-1068?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Martin Woschko updated BATIK-1068:
----------------------------------

    Description: 
Printing Text larger than 10 Chars will not work in Java 7.
This is also realized in 
http://stackoverflow.com/questions/20086806/printing-svg-with-batik-text-doesnt-sit-where-it-should-be

For reproduction it is sufficient to print a very simple SVG File with 
squiggle. If I print the following with Java 6, it works, with Java 7 not.

<?xml version="1.0" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" 
  "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd";>
<svg width="10cm" height="5cm" version="1.1"
     xmlns="http://www.w3.org/2000/svg";>
<text fill="#000000" font-size="10" stroke="none" x="30" 
y="30">notprinted!</text>
<text fill="#000000" font-size="10" stroke="none" x="30" 
y="70">printed!!!</text>
</svg>


  was:
Printing Text larger than 10 Chars will not work in Java 7.
This is also realized in 
http://stackoverflow.com/questions/20086806/printing-svg-with-batik-text-doesnt-sit-where-it-should-be

For reproduction it is sufficient to print a very simple SVG File with 
squiggle. If I print the following with Java 6, it works, with Java 7 not.

{code}
<?xml version="1.0" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" 
  "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd";>
<svg width="10cm" height="5cm" version="1.1"
     xmlns="http://www.w3.org/2000/svg";>
<text fill="#000000" font-size="10" stroke="none" x="30" 
y="30">notprinted!</text>
<text fill="#000000" font-size="10" stroke="none" x="30" 
y="70">printed!!!</text>
</svg>
{code}

        Summary: Java 7 Text Printing Problem  (was: Java 7 Test Printing 
Problem)

> Java 7 Text Printing Problem
> ----------------------------
>
>                 Key: BATIK-1068
>                 URL: https://issues.apache.org/jira/browse/BATIK-1068
>             Project: Batik
>          Issue Type: Bug
>    Affects Versions: 1.7
>         Environment: Java 7.51 (Windows 32)
>            Reporter: Martin Woschko
>
> Printing Text larger than 10 Chars will not work in Java 7.
> This is also realized in 
> http://stackoverflow.com/questions/20086806/printing-svg-with-batik-text-doesnt-sit-where-it-should-be
> For reproduction it is sufficient to print a very simple SVG File with 
> squiggle. If I print the following with Java 6, it works, with Java 7 not.
> <?xml version="1.0" standalone="no"?>
> <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" 
>   "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd";>
> <svg width="10cm" height="5cm" version="1.1"
>      xmlns="http://www.w3.org/2000/svg";>
> <text fill="#000000" font-size="10" stroke="none" x="30" 
> y="30">notprinted!</text>
> <text fill="#000000" font-size="10" stroke="none" x="30" 
> y="70">printed!!!</text>
> </svg>



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

---------------------------------------------------------------------
To unsubscribe, e-mail: batik-dev-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: batik-dev-h...@xmlgraphics.apache.org

Reply via email to