Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Fixing font anti-aliasing for Ubuntu.
# Change Java Runtime:
sudo update-alternatives --config java
# Delete Open-JDK
sudo apt-get purge openjdk-\* icedtea-\* icedtea6-\*
# Change fonts - remove hinting:
# Change RubyMine AntiAliasing first:
Add the following options to the /home/leemour/RubyMine-5.4/bin/rubymine64.vmoptions
# Install OpenJDK with FontFix
Hello everybody
I'm using Linux Mint 14.1 and applied the infinality font patch as well as the OpenJDK fontfix patch.
I did the following steps:
(1) install freetype
$ sudo apt-get install libfreetype6
(2) install infinality patch (
$ sudo add-apt-repository ppa:no1wantdthisname/ppa
$ sudo apt-get update
$ sudo apt-get install fontconfig-infinality
I had to do the following afterwards:
$ sudo rm /etc/fonts/conf.avail/52-infinality.conf
$ sudo ln -s /etc/fonts/infinality/infinality.conf /etc/fonts/conf.avail/52-infinality.conf
To use Windows 7 like font rendering do the following (Leemour uses osx2 but not win7):
$ sudo /etc/fonts/infinality/ setstyle win7
Set USE_STYLE to "WINDOWS7" in /etc/profile.d/
(3) install font fixed OpenJDK (
$ sudo add-apt-repository ppa:no1wantdthisname/openjdk-fontfix
$ sudo apt-get update
$ sudo apt-get install openjdk-7-jdk
To use this JDK only for IntelliJ, prepend this line to bin/
(4) JVM options
Add the following options to the .vmoptions file of IntelliJ
Perform a reboot
See the result with default Darcula theme in attachment.
# Another alternative
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment