reyman64
reyman64

Reputation: 553

Ugly font and broken source code editor in Intellij 11.1.x after update to jdk 7u9

After an update of java sdk on ubuntu 12.04 (openjdk7 to java oracle 7u9 : ), my Intellij installation is totally broken : Ugly font, code editor broken, etc.

Other program which use java works like a charm (netbeans run without problem, etc.)

java version "1.7.0_09" Java(TM) SE Runtime Environment (build
1.7.0_09-b05) Java HotSpot(TM) 64-Bit Server VM (build 23.5-b02, mixed mode)

All symbolic links to java, javac, etc are good.

I try to update to the latest build, whitout success.

Are you experienced the same problem recently ?

enter image description here

Updated with other color scheme :

enter image description here

Jdk version :

enter image description here

With font override option and scheme default activated, my font are UGLY and BIG :

enter image description here

And same configuration with jdk 7u1 :

enter image description here

Upvotes: 1

Views: 2603

Answers (2)

Jaroslav Boyko
Jaroslav Boyko

Reputation: 103

I had similar problem on Fedora 17 with IntelliJ 11.1.3 - java version "1.7.0_09". I had some "problematic" fonts installed on my system. It was enought to remove tex-dejavu fonts in /usr/share/fonts. So it could be helpful look on fonts you are using in your system as CrazyCoder wrote.

Upvotes: 0

CrazyCoder
CrazyCoder

Reputation: 401975

Font rendering on Linux in Java Swing applications is not perfect and we already have an open issue for this problem where you can find some hints how to tweak it (by using different fonts, by patching font files, by patching JDK, by supplying JVM options, etc).

Unfortunately, it's extremely hard to get exactly the same font rendering as in the other elements of the native system user interface.

Good news is that we have plans to implement native font rendering for the editor in the future IntelliJ IDEA versions (we'll be using system default freetype library directly for the best possible and consistent font appearance).

Upvotes: 9

Related Questions