Bug 48758

Summary: Empty ps with openjdk
Product: Fop - Now in Jira Reporter: Calixte Denizet <calixte.denizet>
Component: psAssignee: fop-dev
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 0.95   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Attachments: An example
Output produced with openjdk
Output produced with Sun jdk

Description Calixte Denizet 2010-02-17 13:37:30 UTC
Hi,

I converted attached file with "fop -imagein bug.svg -ps out.ps".
If I use java from Sun there is no problem, but with openjdk the generated ps is empty (not really in fact since the glyph is drawn with bad coordinates).
I tryed with pdf output and there is no problem.

Calixte
Comment 1 Calixte Denizet 2010-02-17 13:38:20 UTC
Created attachment 25007 [details]
An example
Comment 2 Calixte Denizet 2010-02-17 13:46:04 UTC
Created attachment 25008 [details]
Output produced with openjdk
Comment 3 Calixte Denizet 2010-02-17 13:46:43 UTC
Created attachment 25009 [details]
Output produced with Sun jdk
Comment 4 Max Berger 2010-02-18 06:31:42 UTC
Dear Calixte,

we do not officially support OpenJDK. Therefore, I lowered the priority.

That said: Which version of OpenJDK are you using? And from which vendor? There is a bug in certain versions of OpenJDK related to Java Graphics 2d (which is heavily used in FOP).

http://jeuclid.sourceforge.net/faq.html

If you are not using the latest version (b18 for 1.6), please upgrade, try again, and add your findings.
Comment 5 Calixte Denizet 2010-02-21 12:18:50 UTC
Dear Max,

I tested with openjdk-6-b16 under Ubuntu 9.10, I'll test with b18 when it will be available in a Linux distribution.

Calixte
Comment 6 Sylvestre Ledru 2010-04-14 08:35:33 UTC
(In reply to comment #4)
Dear Max,

If I may, most (all?) Linux distributions are now using the OpenJDK as the default JVM.

Calixte, the openjdk v6b18~pre2-1 is now available into Debian testing.
(6b18~pre4-1 in debian unstable)