Ubuntu – How to change eclipse font sizes

eclipsefonts

I'm trying to reduce the font sizes used in Eclipse. I've read several notes talking about how to do this, but none of them have made a difference.

Obviously, changing it in Eclipse preferences doesn't do it.

The common answers about using "Appearance->Fonts" doesn't work, because there is no "Fonts" tab. I believe I saw one person say that the "Fonts" tab isn't supposed to be there anymore.

The next suggestion is to install MyUnity and change the font settings there. That appeared to change the fonts used in other apps, like gnome-terminal and window headers, but it still has had no effect on Eclipse.

Best Answer

Try this:

Edit e4_default_gtk.css.

vim ECLIPSE_HOME/plugins/org.eclipse.ui.themes_*/css/e4_default_gtk.css

Add at the end:

* {
  font-size:8;
} 

Save and start Eclipse.

This worked for me on Ubuntu 14.04 and Eclipse Luna.