← Back to team overview

openjdk team mailing list archive

[Bug 255983] Re: openjdk label display in swing ui elements takes up too much vertical space

 

@Mathias Klose:

The bug persists in Jaunty (with all updates applied)!

It depends on the locale you use, though, as you can see in the picture
attached.

>From left to right:
1. Sun Java with default locale (pt_PT.UTF-8)

2. OpenJDK6 with default locale (pt_PT.UTF-8)

3. OpenJDK6 with another locale (pt_PT.iso-8859-15)

In all file boxes I typed the same letters ('çá').

Hope this helps ;-)

** Attachment added: "openjdk6-font-dimensions.png"
   http://launchpadlibrarian.net/23155612/openjdk6-font-dimensions.png

-- 
openjdk label display in swing ui elements takes up too much  vertical space  
https://bugs.launchpad.net/bugs/255983
You received this bug notification because you are a member of OpenJDK,
which is subscribed to openjdk-6 in ubuntu.

Status in OpenJDK: Fix Released
Status in “openjdk-6” source package in Ubuntu: Fix Released
Status in openjdk-6 in Ubuntu Hardy: Triaged
Status in openjdk-6 in Ubuntu Intrepid: Triaged

Bug description:
i am on Ubuntu 8.04.1, effect is the same on i386 and amd64, Package: openjdk-6-jre, Version: 6b11-2ubuntu2

Swing UI elements (lists, labels) have additional vertical space, some applets user interfaces are therefore broken with openjdk. In contrast sun-java6-jre works fine with tvbrowser and other applets. I attached a good and a bad png-image. The java program to render the example is ugly but still useable with openjdk but i think the error is shown clearly in comparison of the bad openjdk.png with the good sun sun-java.png.



References