Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 478960

Summary: Poor font rendering in Netbeans - Infinality patch
Product: Gentoo Linux Reporter: clavko
Component: [OLD] JavaAssignee: Java team <java>
Status: RESOLVED FIXED    
Severity: enhancement CC: tdalman
Priority: Normal    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Infinality patch for OpenJDK
Differrences in font rendering of Java application
patch for icedtea-7.2.4.1.ebuild to apply the infinality-font.patch

Description clavko 2013-07-30 21:07:23 UTC
Created attachment 354666 [details, diff]
Infinality patch for OpenJDK

Currently, the IcedTea (OpenJDK) is not respecting font settings that would allow better font rendering in Java applications. Given that Netbeans is an coding environment, it might be useful to add a USE flag to the icedtea package which would apply attached patch to the code tree. Difference in rendering can be viewed in attached image.
Comment 1 clavko 2013-07-30 21:08:02 UTC
Created attachment 354668 [details]
Differrences in font rendering of Java application
Comment 2 Tolga Dalman 2013-07-31 08:57:08 UTC
I noticed that, too.
Comment 3 Sebastian Bauer 2013-09-21 15:52:44 UTC
Created attachment 359184 [details, diff]
patch for icedtea-7.2.4.1.ebuild to apply the infinality-font.patch

Currently the package is building so i cannot say how fonts will look at runtime. At least the patch was applied in the build log.

I set CHECKREQS_DISK_BUILD="8G" because on my box, /var/tmp is mounted as a tmpfs and i need the remaining memory ;). That setting has nothing to do with the font patch (but as far as i can tell right now, 4G should be sufficient too).

The patch for the ebuild was created with minimum effort so feel free to enhance it!
Comment 4 Sebastian Bauer 2013-09-21 16:41:21 UTC
Okay, the package build is done. I see a huge improvement in jconsole compared to my other installed jvm icedtea-bin-7.

But still netbeans does not render the fonts nicely. Probably, that is because i downloaded the installer from netbeans.org which might bring its own jvm.

As a side node, i watched the disk usage at my /var/tmp. According to "du", 7,87G was used at max... so it might be better if you let the CHECKREQS_DISK_BUILD untouched ;).
Comment 5 Andrew John Hughes 2014-08-20 02:06:13 UTC
The patch was applied in 2.5.0 and is enabled by the infinality USE flag.
Comment 6 Patrice Clement gentoo-dev 2015-05-21 15:09:08 UTC
Fixed. See Andrew's last comment.