I installed IntelliJ IDEA 13.1 and Oracle JDK 1.8 on Ubuntu 14.04 x64 but when I launch IntelliJ IDEA the font is not ideal.
How I can change the font?
I wrote a little manual how to fix this. Note: that it is only for 64-bit. architecture.
wget http://urshulyak.com:8001/index.php/s/P4afbWaX3mvyjP7/download && mv download jdk-8u5-tuxjdk-b08.tar.gz && tar -zxvf jdk-8u5-tuxjdk-b08.tar.gz && sudo mv jdk-8u5-tuxjdk-b08 /usr/lib/jvm && rm jdk-8u5-tuxjdk-b08.tar.gz
Script to start Intellij Idea
*only note that need to change IDEA_HOME location for your path of idea
#!/bin/sh IDEA_HOME=/opt/idea # for old idea JAVA_HOME, for new 2016+ will be IDEA_JDK #export JAVA_HOME=/usr/lib/jvm/jdk-8u5-tuxjdk-b08/ export IDEA_JDK=/usr/lib/jvm/jdk-8u5-tuxjdk-b08/ export _JAVA_OPTIONS="-Dawt.useSystemAAFontSettings=lcd \ -Dsun.java2d.xrender=true" export GNOME_DESKTOP_SESSION_ID=this-is-deprecated exec $IDEA_HOME/bin/idea.sh "$@"
More info and screenshots of better fonts: http://urshulyak.com/page/show/2. Result:
Short answer that worked for me:
1) Go to File->Settings->Appearance & Behavior->Appearance.
2) Under anti-aliasing change both IDE and Editor options to "Greyscale".
$ sudo apt-get install libfreetype6
$ sudo add-apt-repository ppa:no1wantdthisname/ppa $ sudo apt-get update $ sudo apt-get install fontconfig-infinality
$ sudo rm /etc/fonts/conf.avail/52-infinality.conf $ sudo ln -s /etc/fonts/infinality/infinality.conf /etc/fonts/conf.avail/52-infinality.conf
$ sudo /etc/fonts/infinality/infctl.sh setstyle win7
IDEA_HOME/bin/idea64.vmoptions. Add below lines:
Also enable Use Anti-aliased font checkbox, go to:
File -> Settings -> Editor -> Appearance.
Editor font: Monaco, UI: Ubuntu Bold
I have prepared a dedicated font named as "Ubuntu Mono Nohinting" to workaround a rendering issue with Java Swing applications such as NetBeans IDE, IntelliJ IDEA and PyCharm. The font hinting information has been stripped from the original Ubuntu Mono font family.
Note that in Webstorm 9, the file you need to add these changes:
Confirmed working on Ubuntu 14.04
At startup before opening a project go to Configure -> Settings -> Appearance and tick override default font checkbox, select font and size (I highly recommend Dejavu Sans Mono 14px, everywhere)
You can change the font used by IntelliJ. To do that:
As mentioned in an answer above, using jdk-8u5-tuxjdk-b08.tar.gz fixed the problem for me while using Ubuntu 16.10 and IntelliJ 2016.
One smarter way of configuring the above mentioned jdk as IDE boot JDK (once it is downloaded and extracted) is using Intellij's "Quick Action"
Ctlr + Shift + A and search for
Switch IDE Boot jdk. Browse the extracted jdk and restart IntelliJ !
You can download IntelliJ Idea with a custom embedded OpenJDK which includes font rendering fixes.
Bundled OpenJDK fixes a lot of font rendering issues that will be fixed only in Java 9.
Sometimes (as in the case of 171.3780.107) font rendering fixes didn't work and I had to copy the embedded jre of the previous version (simply copy the jre folder).