How to get Pycharm font antialiasing working when using the ARM version of JDK 8?

Answered

Dear PyCharm,

My current system is: ChrUbuntu Trusty Tahr 14.04 on a HP Chromebook 14 G3 (Tegra K1, nyan_blaze), which has a 32-bit armhf CPU architecture.

The state of font rendering at this present time is:



I researched the problem and made changes to pycharm.vmoptions which are highlighted in the idea.log below:


------------------------------------------------------ IDE STARTED ------------------------------------------------------
2016-10-31 17:36:00,361 [ 42] INFO - #com.intellij.idea.Main - IDE: PyCharm Community Edition (build #PC-162.1967.10, 07 Sep 2016 00:00)
2016-10-31 17:36:00,361 [ 42] INFO - #com.intellij.idea.Main - OS: Linux (3.10.18, arm)
2016-10-31 17:36:00,361 [ 42] INFO - #com.intellij.idea.Main - JRE: 1.8.0_111-b14 (Oracle Corporation)
2016-10-31 17:36:00,362 [ 43] INFO - #com.intellij.idea.Main - JVM: 25.111-b14 (Java HotSpot(TM) Server VM)
2016-10-31 17:36:00,367 [ 48] INFO - #com.intellij.idea.Main - JVM Args: -Xbootclasspath/a:/home/spearthistle/Downloads/pycharm-community-2016.2.3/bin/../lib/boot.jar -Dawt.useSystemAAFontSettings=on -Dswing.aatext=true -Dsun.java2d.xrender=true -Xms128m -Xmx512m -XX:ReservedCodeCacheSize=240m -XX:+UseConcMarkSweepGC -XX:SoftRefLRUPolicyMSPerMB=50 -ea -Dsun.io.useCanonCaches=false -Djava.net.preferIPv4Stack=true -XX:+HeapDumpOnOutOfMemoryError -XX:-OmitStackTraceInFastThrow -Djb.vmOptionsFile=/home/spearthistle/.PyCharm2016.2/pycharm.vmoptions -XX:ErrorFile=/home/spearthistle/java_error_in_PYCHARM_%p.log -XX:HeapDumpPath=/home/spearthistle/java_error_in_PYCHARM.hprof -Djb.restart.code=88 -Didea.paths.selector=PyCharm2016.2 -Didea.platform.prefix=PyCharmCore -Didea.no.jre.check=true


Unfortunately, no luck this time.


Best Wishes, spearthistle.

0
2 comments

Please try to start PyCharm under custom JetBrains JDK: https://intellij-support.jetbrains.com/hc/en-us/articles/206544879.

0
Avatar
Permanently deleted user

Hi Anna,

The JRE (Java Runtime Environment) bundled with PyCharm Community Edition 2016.3.2 is for the "amd64" CPU architecture.

Therefore, the pycharm script ignores this JRE and uses the Java ARM JRE instead.

If JetBrains provided a tested configuration for ARM, the font issue would most probably disappear.

PyCharm Community Edition 2016.3.2
Build #PC-163.10154.50, built on December 28, 2016
JRE: 1.8.0_121-b13 arm
JVM: Java HotSpot(TM) Server VM by Oracle Corporation

Thank you.

0

Please sign in to leave a comment.