Bug 48758 - Empty ps with openjdk
Summary: Empty ps with openjdk
Status: NEW
Alias: None
Product: Fop - Now in Jira
Classification: Unclassified
Component: ps (show other bugs)
Version: 0.95
Hardware: PC Linux
: P3 normal
Target Milestone: ---
Assignee: fop-dev
Depends on:
Reported: 2010-02-17 13:37 UTC by Calixte Denizet
Modified: 2010-04-14 08:35 UTC (History)
0 users

An example (307 bytes, image/svg+xml)
2010-02-17 13:38 UTC, Calixte Denizet
Output produced with openjdk (10.82 KB, application/postscript)
2010-02-17 13:46 UTC, Calixte Denizet
Output produced with Sun jdk (10.62 KB, application/postscript)
2010-02-17 13:46 UTC, Calixte Denizet

Note You need to log in before you can comment on or make changes to this bug.
Description Calixte Denizet 2010-02-17 13:37:30 UTC

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.

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).


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.

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)