Deleting the following lines in /etc/java-6-openjdk/fontconfig.properties solves the problem for me:
sequence.allfonts.UTF-8=latin-1,wqy-zenhei,japanese-vlgothic,japanese-kochi,japanese-sazanami,korean-un,korean-baekmuk,bengali,oriya,telugu sequence.allfonts.UTF-8.ko=latin-1,korean-un,korean-baekmuk sequence.allfonts.UTF-8.ja=latin-1,japanese-vlgothic,japanese-kochi,japanese-sazanami sequence.allfonts.UTF-8.zh.CN=latin-1,umingcn,shanheisun,wqy-zenhei sequence.allfonts.UTF-8.zh.TW=latin-1,umingtw,shanheisun,wqy-zenhei sequence.allfonts.UTF-8.zh.HK=latin-1,uminghk,shanheisun,wqy-zenhei sequence.allfonts.UTF-8.zh.SG=latin-1,umingcn,shanheisun,wqy-zenhei Patch attached. Could someone else verify? ** Attachment added: "bug-openjdk.patch" http://launchpadlibrarian.net/25993719/bug-openjdk.patch -- 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: Confirmed 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. _______________________________________________ Mailing list: https://launchpad.net/~openjdk Post to : [email protected] Unsubscribe : https://launchpad.net/~openjdk More help : https://help.launchpad.net/ListHelp

