Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

slovenianGooner's avatar

Font antialiasing on Linux and PHPStorm

OK, So I love PHPStorm. Makes developing so much easier.

The thing is, the "Java" apps look somewhat distorted on Linux systems. The font antialiasing doesn't work as it should. Tried various tutorials, but nothing seems to fix it.

Have you guys ever had such issues?

0 likes
34 replies
xuma's avatar

Try to use Oracle Java , change default fonts and use bigger fonts. phpstorm

slovenianGooner's avatar

Have tried that, yes. Still not an experience I would recommend for anyone in love with smooth fonts.

bashy's avatar

You should see them on Mac with retina

bashy's avatar

Wow that is ugly, almost as bad a Windows :P

keevitaja's avatar

I have them... no change.

It's like in java fonts display thinner...

bashy's avatar

To me, they are in the long run. We use them at work and everything just works on them :) I'd love to use Linux fully, just can't though.

keevitaja's avatar

Today i officially gave up PhpStorm as it is unusable with my Ubuntu. Coding in Windows would make much more sense than Ubuntu+PhpStorm :D

Fonts stay ugly, keyboard freezes and all possible other issues. So i am back with sublime which runs perfectly!

So my advice is, if you are a linux user and plan to check out PhpStorm, DON'T. I Pretty much wasted several days on it.

keevitaja's avatar

I tried all the possible solutions and at the end, ugly fonts were nothing. By random keyboard freezed and i had to run ibus restart in terminal to fix it. This is known issue which makes it just stupid!

bashy's avatar

Better to use a more stable distro, like Debian.

theilen's avatar

No problems here whatsoever with PhpStorm on Linux Mint.

keevitaja's avatar

@bashy there's nothing wrong with my distro or it's stability. Just PhpStorm is badly crafted software (at least the linux version and it using java plays big role in it).

Google "linux phpstorm keyboard freeze" before claiming any distro stability issues!

Edit:

I am not a computer scientist or enthusiast. I am a simple user! I couldn't care a less if something runs on java or fresh tomatoes. All i need is that it works!

carkis's avatar

@slovenianGooner which distro are you using? If it is anything Ubuntu-based you should add this ppa OpenJDK Fontfix and after upgrading your JDK set this options in the phpstorm64.vmoptions file

-Dawt.useSystemAAFontSettings=lcd
-Dsun.java2d.xrender=true
-Dawt.useSystemAAFontSettings=on
-Dsun.java2d.xrender=true

And here you can see the result PHPStorm Antialias

1 like
keevitaja's avatar

@carkis your solution works!

I find it strange, that PhpStorm does not offer this solution in their documentation. The ones they provide, mainly using oracle java, do not work!

Do you get keyboard freezes? I am using ubuntu 14.04.

Keyboard freezing is ibus related.

Edit:

@carkis which version of PhpStorm are you using? I am using 8.0.1 and have problem with floating navigation bar as well. When i try to open a folder, it will close it self. Here is IDEA issue:

https://youtrack.jetbrains.com/issue/WI-24450

It seems to be in windows well and only with floating bar!

carkis's avatar

@keevitaja yes, the floating bar issue seems related to phpstorm directly. Happens with version 8.0.1 and the latest EAP and just with the floating bar.

I haven't noticed any keyboard freezing. Could you explain the symptom please? How long the freezes are? Does it mean you can't type at all or just in PHPStorm?

keevitaja's avatar

@carkis it freezes only PhpStorm. Best way to reproduce this issue is to open some tabs and start quickly switching them multiple times with Ctrl+Tab. As far as i know, it doesn't release they keyboard itself. To release the freeze, enter ibus restart in terminal!

carkis's avatar

@keevitaja couldn't reproduce the issue even thought I tried it multiple times, also I may add I have a "fresh" reinstall of Ubuntu 14.04 (meaning I recreated my home folder, only keeping my files, not the config files).

PatrickBauer's avatar

I'm using PHPStorm with Ubuntu 14.04 too and I've got no problems like freezing or bad font rendering. Everythings fine

keevitaja's avatar

It is strange, as i am not only one who is having this freezing issue.

slovenianGooner's avatar

I've given up and made a Hackintosh. Bar the retina display everything is peachy.

1 like
ryanwinchester's avatar

Ubuntu 14.04 and PhpStorm EAPs here. All day every day for the last couple of months since switching from ST3.

No freezing issues...

keevitaja's avatar

Btw i am using ppa:danjaredg/jayatana for native ubuntu unity menus in PhpStorm.

Next

Please or to participate in this conversation.