Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 478960 - Poor font rendering in Netbeans - Infinality patch
Summary: Poor font rendering in Netbeans - Infinality patch
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Java (show other bugs)
Hardware: x86 Linux
: Normal enhancement with 1 vote (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-07-30 21:07 UTC by clavko
Modified: 2015-05-21 15:09 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Infinality patch for OpenJDK (openjdk-obey-fontconfig.patch,8.57 KB, patch)
2013-07-30 21:07 UTC, clavko
Details | Diff
Differrences in font rendering of Java application (icedtea-font-rendering.png,52.75 KB, image/png)
2013-07-30 21:08 UTC, clavko
Details
patch for icedtea-7.2.4.1.ebuild to apply the infinality-font.patch (icedtea-ebuild.patch,985 bytes, patch)
2013-09-21 15:52 UTC, Sebastian Bauer
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.