Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: [Howto] Better font antialiasing for NetBeans/IntelliJ Idea/Android Studio/PHPStorm in OpenSuse

  1. #1

    Default [Howto] Better font antialiasing for NetBeans/IntelliJ Idea/Android Studio/PHPStorm in OpenSuse

    If you ever wanted to use some Swing based Java program like any IDE from JetBrains (IntelliJ Idea, Android Studio, PHPStorm...) or NetBeans and you were repulsed by how ugly the fonts looked, then I've got some good news for you. The solution is quite simple.

    The problem is in Java itself and in its bad support of font rendering on the Linux platform. Luckily, there is a patched JDK that pretty much fixes that problem. It's the standard OpenJDk with the FontFix patch applied. Simply add following repository and install OpenJDK from it (replace the original one).

    Code:
    http://download.opensuse.org/repositories/home:/valmar73:/patched-packages/openSUSE_13.1/
    You can do both actions using Yast.

    Regarding IntelliJ Idea, Android Studio, PHPStorm...:

    You can read in the documentation that this software doesn't support OpenJDK and requires the original Oracle JDK. I've been using Android Studio for a quite while with OpenJDK installed and I haven't encounter any serious issues. I wouldn't call it exactly smooth and flawless experience but it's a Java program so what would you expect

    Anyway, it's often recommended for any JetBrains' IDE to put following lines in the (idename).vmoptions file in order to get the best font rendering:

    Code:
    -Dawt.useSystemAAFontSettings=lcd
    -Dsun.java2d.xrender=true
    -Dswing.aatext=true
    The file is located in the bin folder where the software is installed. You can experiment with the value of -Dawt.useSystemAAFontSettings. Try "on" or "gasp" instead.

    Screenshots


    The result with the standard unpatched OpenJDK was something in middle of the two provided. In both cases, the gui uses Segoe UI font and the text editor uses Source Code Pro.

  2. #2
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: [Howto] Better font antialiasing for NetBeans/IntelliJ Idea/AndroidStudio/PHPStorm in OpenSuse

    On 2014-02-14 20:36, tobice wrote:

    Please,

    there is a dedicated forum here for people to post howtos, where other
    people go to search for them. It is called "submissions" or something
    similar.

    Please, ask a moderator to move your post there. The triangle button
    blow, labeled "report".

    --
    Cheers / Saludos,

    Carlos E. R.

    (from 13.1 x86_64 "Bottle" (Minas Tirith))

  3. #3
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    25,396

    Default Re: [Howto] Better font antialiasing for NetBeans/IntelliJ Idea/Android Studio/PHPStorm in OpenSuse

    This will be moved to Unreviewed Howto ans FAQs ands is closed for the moment.
    Henk van Velden

  4. #4
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    25,396

    Default Re: [Howto] Better font antialiasing for NetBeans/IntelliJ Idea/Android Studio/PHPStorm in OpenSuse

    Quote Originally Posted by hcvv View Post
    This will be moved to Unreviewed Howto ans FAQs ands is closed for the moment.
    Moved from Applications and open again.
    Henk van Velden

  5. #5

    Default Re: [Howto] Better font antialiasing for NetBeans/IntelliJ Idea/Android Studio/PHPStorm in OpenSuse

    your screenshots link is dead

  6. #6
    Join Date
    Jul 2011
    Location
    Минск
    Posts
    80

    Default Re: [Howto] Better font antialiasing for NetBeans/IntelliJ Idea/Android Studio/PHPStorm in OpenSuse

    Hi! What about openSuse 13.2 ?? Looks the repo died.

  7. #7

    Default Re: [Howto] Better font antialiasing for NetBeans/IntelliJ Idea/Android Studio/PHPStorm in OpenSuse

    That's true unfortunately. I'm still running 13.1 and there are no longer available updates for the patched OpenJDK. So I just keep using the outdated version (I made a hard copy not the get it overwritten by an update) because the font antialiasing is way too important for me.

    Btw. I'm not sure but when I last checked the author of that repo created another one with this patch. Might be worth checking.

  8. #8

    Default Re: [Howto] Better font antialiasing for NetBeans/IntelliJ Idea/Android Studio/PHPStorm in OpenSuse

    If you're using Tumbleweed you can find this patched packages on http://download.opensuse.org/reposit...SE_Tumbleweed/
    I've tested them right now (over another infinality config) and works like a charm!

    Cheers!

  9. #9
    Join Date
    Jul 2011
    Location
    Минск
    Posts
    80

    Default Re: [Howto] Better font antialiasing for NetBeans/IntelliJ Idea/Android Studio/PHPStorm in OpenSuse

    Quote Originally Posted by onerw View Post
    If you're using Tumbleweed you can find this patched packages on http://download.opensuse.org/reposit...SE_Tumbleweed/
    I've tested them right now (over another infinality config) and works like a charm!

    Cheers!
    Yep! Using it on stable version (not tumbleweed) - works perfect!

  10. #10

    Default Re: [Howto] Better font antialiasing for NetBeans/IntelliJ Idea/Android Studio/PHPStorm in OpenSuse

    That's awesome news! I'm still on 13.1 so I hope it will be possible to use Tumbleweed... I'll give it a shot.

Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •