Better font rendering in PHPstorm on Linux

If you use phpstorm on linux you probably have noticed the font rendering leaves a lot to be desired. This is a java problem not a phpstorm issue.

You can fix this problem by modifying the font you want to use with the fontforge package on debian/ubuntu.

Use fontforge open the font and then clear hints and instructions using Hints -> Clear Hints and then Hints -> Clear Instructions and then generate a new font file in the File menu. I called my font MonacoJava.

Install this font in ~/.fonts and then clear your font cache with

Here is a screenshot of my PHPstorm using the modified monaco font on linux

and here is what it looked like before:

, ,

One thought on “Better font rendering in PHPstorm on Linux

Leave a Reply

Your email address will not be published. Required fields are marked *