[ 
https://issues.apache.org/jira/browse/BATIK-1385?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18029446#comment-18029446
 ] 

Bjoern Voigt commented on BATIK-1385:
-------------------------------------

Which Batik version do you use?

(I tried the testcase with Batik 1.19. Java 17, 21 and 25 show the 
"minimal_testcase_java17.png" result with Batik 1.19.)

> SVG rendering partially broken with Java 21+
> --------------------------------------------
>
>                 Key: BATIK-1385
>                 URL: https://issues.apache.org/jira/browse/BATIK-1385
>             Project: Batik
>          Issue Type: Bug
>            Reporter: Matthias Reischenbacher
>            Priority: Critical
>         Attachments: minimal_testcase.svg, minimal_testcase_java17.png, 
> minimal_testcase_java21.png
>
>
> When rendering [^minimal_testcase.svg] as PNG file with the following command
> {code:java}
> java -jar batik-rasterizer.jar -m image/png -d <output_file.png> 
> <input_file.svg>{code}
> Then the result file differs depending on the Java version:
> * With Java 17 it is rendered correctly:  [^minimal_testcase_java17.png]
> * But with Java 21 (or Java 25) it is rendered incorrectly:  
> [^minimal_testcase_java21.png]
> Is there any workaround for this issue?



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to