Below is the picture of Android Studio when I first installed it:
I'm using Ubuntu 12.04 with Oracle Java 7. But the fonts are looking very ugly. They are not looking like they look when I see them on eclipse.
Earlier when I installed NetBeans, I had same problem too.
On KDE, launch System Settings, go to "Common Appearance and Behaviour > Application appearance > Fonts". Select "Droid Sans" size 9 for all fonts. For "fixed width" font select "Droid Sans Mono" size 9. In "Use anti-aliasing" dropdown, select "System Settings".
Fonts are compiled in R file and are automatically available in the system as a resource. You can then access these fonts with the help of the font resource type.
The Ubuntu Font Family is the default font for the current and development releases of the Ubuntu operating system and is used for the Ubuntu project branding.
There actually is a solution. You need to install JDK font fix as follows:
sudo add-apt-repository ppa:no1wantdthisname/openjdk-fontfix sudo apt-get update sudo apt-get install openjdk-7-jdk
Then, open studio.vmoptions and optionally studio64.vmoptions in your android-studio/bin directory, and add following lines to both of them (the first one might be already there):
-Dawt.useSystemAAFontSettings=on -Dswing.aatext=true -Dswing.defaultlaf=com.sun.java.swing.plaf.gtk.GTKLookAndFeel
After you reboot, the font rendering is just fine. To get the most Eclipse-like experience, go to File, Settings, Editor, Colors & Fonts, Font. Save the current scheme as a new one, and change the font to "Monospaced" with size of 14.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With