Bug 473734

Summary: openjdk renders incorrectly for jeuclid
Product: [Fedora] Fedora Reporter: Brennan Ashton <bashton>
Component: java-1.6.0-openjdkAssignee: Lillian Angel <langel>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: 9CC: dbhole, langel, lkundrak, mjw, mjw
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-12-01 06:57:18 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 472848    

Description Brennan Ashton 2008-11-30 05:01:53 UTC
I know this is not going to be a helpful initial bug report, as I do not even fully understand what the issue is.  I am packaging up jeuclid for fedora and I have it compiling fine with openjdk, the issue is that the images that are being rendered are all messed up.  This works with sun jdk.

here is the srpm:
http://bashton.fedorapeople.org/jeuclid-3.1.3-8.fc9.src.rpm

you just need jeuclid and jeuclid-mathviewer
The launcher script:

#!/bin/bash
. /usr/share/java-utils/java-functions

MAIN_CLASS=net.sourceforge.jeuclid.app.mathviewer.MathViewer

set_classpath "commons-logging commons-cli commons-lang fop jcip-annotations xml
graphics-commons batik-all jeuclid-core jeuclid-mathviewer commons-io"

run "$@"


Here is the test data that can be pasted in: http://jeuclid.sourceforge.net/example5.html as well as a correct rendering.  What I get with openjdk is:

http://bashton.fedorapeople.org/example5.png

If there is anything else I can provide that will help, just ask.  I really did not know what to put in this report.

Comment 1 Mark Wielaard 2008-11-30 10:55:40 UTC
Could you retry with the version in Fedora 10? There were some font metric calculation fixes recently, and I believe those did already go into the F10 package.

Comment 2 Brennan Ashton 2008-12-01 06:57:18 UTC
Looks great on 10, I had not gotten around to getting a 10 box up.

Comment 3 Dominik 'Rathann' Mierzejewski 2008-12-01 10:28:10 UTC
Will this fix be propagated to F-9?

Comment 4 Brennan Ashton 2008-12-02 00:27:37 UTC
upstream would also like to know when it was fixed?  Is is the correct bug?
http://hg.openjdk.java.net/jdk7/2d/jdk/rev/9cdababf6179

Comment 5 Mark Wielaard 2008-12-02 07:19:43 UTC
(In reply to comment #4)
> upstream would also like to know when it was fixed?  Is is the correct bug?
> http://hg.openjdk.java.net/jdk7/2d/jdk/rev/9cdababf6179

That is one of the font patches I applied upstream to icedtea yes:
http://mail.openjdk.java.net/pipermail/distro-pkg-dev/2008-November/003896.html
That one in particular was for upstream bug:
http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=227