On the picture below Consolas 10pt in Font Manager and in Pycharm 2.7.2 In Pycharm it became small and bold-ish Is there a way to render it similar to Windows style?
It's a problem with OpenJDK's font rendering. So all you need is to swap OpenJDK to Sun JDK and fonts will look normal.
Here's how you do it:
sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java7-installer
After the installation finishes, if you wish to see if it was successful, you can run the following command:
java -version
It should return something like this:
java version "1.7.0_10"
Java(TM) SE Runtime Environment (build 1.7.0_10-b18)
Java HotSpot(TM) 64-Bit Server VM (build 23.6-b04, mixed mode)
To automatically set up the Java 7 environment variables, you can install the following package:
sudo apt-get install oracle-java7-set-default
How to install Oracle JDK in Ubuntu
UPD
I forgot the main thing. In your .profile, enter this:
export _JAVA_OPTIONS='-Dawt.useSystemAAFontSettings=lcd_hrgb -Dswing.aatext=true -Dsun.java2d.xrender=true'
Alternatively, if you want to set font settings to specific applications, in this case, pycharm - instead of modifying .profile, you can edit pycharm/bin/pycharm64.vmoptions file and add this:
-Dawt.useSystemAAFontSettings=lcd_hrgb
-Dswing.aatext=true
-Dsun.java2d.xrender=true