Package Details: jre8-openjdk-infinality 8.u121-1

Git Clone URL: https://aur.archlinux.org/java8-openjdk.git (read-only)
Package Base: java8-openjdk
Description: OpenJDK Java 8 full runtime environment with infinality patch applied
Upstream URL: http://openjdk.java.net/
Keywords: fonts infinality java jdk jre
Licenses: custom
Conflicts: jre8-openjdk
Provides: java-runtime=8, java-runtime-openjdk=8
Replaces: jre8-openjdk-wm
Submitter: chrbayer
Maintainer: None
Last Packager: gim
Votes: 26
Popularity: 1.720211
First Submitted: 2014-09-15 20:06
Last Updated: 2017-02-02 09:11

Required by (726)

Sources (11)

Pinned Comments

gim commented on 2016-02-22 14:07

Prebuilt packages by me are available at https://www.dropbox.com/sh/33ia4nzd2cdigvy/AADzw5132rjMLi5GhMKxgrOma?dl=0

Latest Comments

linsinn commented on 2017-03-09 15:11

I've tried your setup, but it won't work.

I found a solution is to install another jdk, "jdk8-openjdk-jetbrains", https://aur.archlinux.org/packages/jdk8-openjdk-jetbrains/

Now my fonts in Pycharm looks good.

Magotchi commented on 2017-03-06 15:29

My /etc/fonts/local.conf is at http://pastebin.com/GZZMvRhb . All of those settings are documented on the wiki at https://wiki.archlinux.org/index.php/font_configuration . From reading it, it appears the only settings I have in my config. that aren't default are "rgba" and "lcdfilter", but I effectively copied/pasted it from somewhere else.

To symlink the Infinality aliases, install the fonts-meta-extended-lt AUR package, which puts a file at "/etc/fonts/conf.avail/30-infinality-aliases.conf", and then symlink that file over to the "/etc/fonts/conf.d" directory using "ln -s /etc/fonts/conf.avail/30-infinality-aliases.conf /etc/fonts/conf.d/30-infinality-aliases.conf" (as root or via sudo).

Then, verify that IDEA is actually using OpenJDK in Help --> About. If not, that can be controlled by putting the path to the JRE you want in an "idea.jdk" file in the IDEA configuration, like "echo /usr/lib/jvm/default > ~/.IdeaIC2016.3/config/idea.jdk". For a while, they were bundling their own custom JRE. I'm using the official Arch package, and I don't need to do this, but I did with the EAP.

linsinn commented on 2017-03-05 19:00

@Magotchi, I had the same problem @gim. And your screenshots look pretty.
Could you show me your /etc/fonts/local.conf and how to symlink 30-infinality-aliases.conf from the fonts-meta-extended-lt package.

Magotchi commented on 2017-02-22 15:57

gim: Sorry for not noticing the reply and responding sooner. I don't have the issue in your screenshot, and everything in IDEA (both CE and UE) works and looks great for me.

Here some examples of IDEA's behavior for me with different JDK/JRE versions:

With Infinality patches (this AUR package):
https://callear.org/misc/jdk8-infinality-comparison/java-8-openjdk-with-infinality-patches.png

Without Infinality patches (the standard Arch jdk8-openjdk package):
https://callear.org/misc/jdk8-infinality-comparison/java-8-openjdk-without-infinality-patches.png

With Oracle JDK 8 (jdk AUR package):
https://callear.org/misc/jdk8-infinality-comparison/java-8-oracle-jdk.png

I originally had Infinality fully set up through the Infinality repositories, and when the Harfbuzz issue came up, I removed all packages from the Infinality repositories, replacing them with fonts-meta-base, fonts-meta-extended-lt, jdk8-openjdk-infinality, jre8-openjdk-infinality, and jre8-openjdk-headless-infinality, all from the AUR. I also added some settings (hinting, etc.) to /etc/fonts/local.conf, and symlinked 30-infinality-aliases.conf from the fonts-meta-extended-lt package. That's where my setup is at this point with those screenshots.

gim commented on 2017-02-06 16:14

Magotchi, you don't experience any weird font issues with this package?
http://imgur.com/a/7d22z

It seems to affect only subpixel rendering in Intellij IDEA (PyCharm works all right though)

Magotchi commented on 2017-02-06 15:59

This still makes my fonts look much better in IntelliJ IDEA. That's after removing everything from all Infinality repos, installing fonts-meta-base (AUR) and fonts-meta-extended-lt (AUR), symlinking the 30-infinality-aliases.conf from fonts-meta-extended-lt, and applying the font configuration tweaks from the wiki (https://wiki.archlinux.org/index.php/font_configuration). The Java-specific font tweaks in the wiki didn't seem to do much.

gim commented on 2017-02-04 15:35

This patched JRE fucks up my Intellij IDEA fonts now, so I'm going to disown it. I'm not sure why that is, but it all started with Infinality + harfbuzz. You can learn about it here: https://gist.github.com/cryzed/e002e7057435f02cc7894b9e748c5671

blackx commented on 2016-10-19 12:25

It seems jdk-jdk8u102-b14.tar.gz on java.net is corrupted, getting sha256 mismatch & errors during unpacking the archive.

gim commented on 2016-10-19 07:01

Det, because the original maintainer didn't rename it for some reason (probably forgot to) and now it's too late. If I try to upload PKGBUILD with different package base name AUR won't accept it because sub packages (jre8-openjdk-infinality, jdk8-openjdk-infinality, jre8-openjdk-headless-infinality) already exist. Renaming process without loosing votes in this case seems a bit complicated and it's probably not worth wasting time on this since it doesn't affect anything much. It only might be a problem if a trusted user decides to move it to official repository, in which case he can just rename it himself.

Det commented on 2016-10-19 06:52

Yea, but why?

All comments