Better font rendering on PyCharm?

I use PyCharm on external monitors and I am somehow not happy with the font rendering. I also use vscode for very quick edits of single file and vscode looks very very good on the external monitor compared to PyCharm 

Here are some screenshots of PyCharm (white background) and VsCode (dark background). 

 

 

 

 

 

Here are my editor settings on PyCharm

 

 

Please let me know if it's possible to improve it. I would be very happy to provide more information about my setup. 

0
7 comments

Hi,

Try following the troubleshooting guide https://intellij-support.jetbrains.com/hc/en-us/articles/115001260010

If it doesn't help, try adding -Dhidpi=True to Help | Edit Custom VM Options...

Has any of it helped?

 

0
Avatar
Permanently deleted user

Hi Sergey Karpov . I tried the troubleshooting steps but nothing helped. Also I am using 2019.3.1 build and I couldn't find the `override default fonts` settings in appearance . The one below. 

  • Change the IDE font size (Settings > Appearance & Behavior > Appearance > Override default fonts). It affects the IDE scale. If it helps, set the Editor font size appropriately (Settings > Editor > Color Scheme > Color Scheme Font)

The final trick `-Dhidpi=True` also didn't work: 

 

 

Would really like to understand this more. 

0

Sorry, the option was renamed to Use custom font.

Let me check other similar threads for possible solutions and get back to you.

0

Do you run PyCharm under bundled JDK? You can check it in your idea.log (Help | Show Log in...) after IDE startup.

Try using a different font and see if it helps.

I found the following open tickets in our issue tracker:

https://youtrack.jetbrains.com/issue/IDEA-199215

https://youtrack.jetbrains.com/issue/IDEA-147241

https://youtrack.jetbrains.com/issue/IDEA-199895

Unfortunately, I haven't found any workaround.

0
Avatar
Permanently deleted user

Sorry for the lack of activity on this thread, very hard to stay productive and spend time on the appearance of PyCharm at the same time.

I enable custom font Monaco with a size of 12, also changed the colorscheme of vs code to dark with font size 12 Monaco. Here are the screenshots.

Vs code: 

 

PyCharm: 

 

 

Regarding the jdk I was able to find the following lines in the log: 

 

2020-01-17 14:07:00,897 [ 163] INFO - #com.intellij.idea.Main - JRE: 11.0.5+10-b520.17 (JetBrains s.r.o)
2020-01-17 14:07:00,897 [ 163] INFO - #com.intellij.idea.Main - JVM: 11.0.5+10-b520.17 (OpenJDK 64-Bit Server VM)

 

Means I am using openjdk. 

Also thank you for the links. I looked into them and there is a solution from this comment but it requires me to install oracle jdk, I need to do this in free time so I don't end up disrupting my productivity flow, but will do it soon and report back. also the third link is dead. 

Once again thank you for your help. looking forward for a solution. 

 

0
Avatar
Permanently deleted user

I changed the font to Hasklig and the theme to Gradianto Midnight Blue and I must say I am pretty satisfied with the look of the editor. 

 

However there are still some bold font rendering that can be hard on the eyes but I can work with that at the moment. 

 

 

Thank you once again for your help. Much appreciated. 

0

Is there anything going to change? With latest macOS still no luck to get fonts look as expected. All free editors have better font rendering than paid PyCharm. Even on retina or 4k monitor PyCharm renders fonts bold. I tried to search solutions on internet, but it doesn't work, still horrible results, just minor changes.

0

Please sign in to leave a comment.