How do I change the menu fonts

I'm running Pycharm 3.0.2 on Ubuntu 13.04.  I hate the Java fonts on the menu, they are bolded, aliased, and ugly and I want to change them.  Please keep in mind I am NOT talking about the editor fonts, the editor fonts look fine to me and I realize I can change them by going to File->Settings->IDE->Editor->Colors and Fonts.  However, I do not see a section to change the menu fonts.  Is pycharm a SWT app?  Is there anyway to change these fonts?  I've attached an image showing the fonts I want to change.  Ideally, I'd like them to look like the standard ubuntu fonts.  Thanks!

fonts.png
6 comments
Comment actions Permalink
If this is the same as in IntelliJ: Go to Preferences > Appearance. There should be a checkbox Override default fonts by (not recommended). Check that box and select another font in the dropdown below. This should change the font that is used for anything else but the editor.
-1
Comment actions Permalink
Hello Dirk,

I did what you suggested and that did change the fonts for the project browser, however, the menu fonts are unchanged (see attached).

font2.png
0
Comment actions Permalink
I just tried that on my Mac. All the UI fonts changed when I picked another font. Only the font for the menus didn't change but that's what I would expect on a Mac (because of the global screen menu bar). So I guess, this is the right place to make the kind of setting.

Did you see any difference at all after changing that option? Sounds like a linux specific bug if you didn't. In that case, you should file an issue in YouTrack. You could try asking on the IntelliJ EAP forum as well. Maybe someone over there knows more about how this is supposed to work on Linux.
0
Comment actions Permalink
Okay, I fixed it here is what I did....

I had oracle JRE installed on Ubuntu and the fonts were never rendering properly.  I tried various suggestions such as editing the pycharm.vmoptions file to include

  • Dswing.aatext=true
  • Dawt.useSystemAAFontSettings=lcd

There were also various tips how to add these options to .bashrc etc. etc.  None of them worked.  Finally I found this ppa...

https://launchpad.net/~no1wantdthisname/+archive/openjdk-fontfix

This ppa contains a openjdk version with the fonts patched.  I removed oracle JDK and installed it and it works perfectly.  Fonts in pycharm render just as they do for any app I run on Ubuntu.  The only thing I'm concerned about is that when I was installing pycharm I saw that using openjdk is not recommended.  Do you know why this is the case?  It seems to work fine to me.  Attached is a screen of what my fonts look like now, the difference is clear.


fonts3.png
0
Comment actions Permalink
Thank you!! Worked for me with PyCharm 3.1.1 on Ubuntu 12.04, fixing the font rendering throughout the application and making it so much more pleasant to use.
0
Comment actions Permalink

  I had pulled a build without the include JDK and the fonts use for dialogs were bad, really hard to read.  You could choose to change font, but there was no second option offered.

 

  Based on above I pulled the normal for me with JDK and things look good again.

0

Please sign in to leave a comment.