Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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.

share|improve this question
    
This solution worked for me: stackoverflow.com/questions/11805784/… –  Gabriel Mendez Aug 11 '12 at 6:05

5 Answers 5

I figured out the missing pieces of this. The hard part is controlling the font size for the non-editor views, like the package explorer. I discovered the following, which did the trick for me:

Smaller font sizes for Eclipse on Linux

share|improve this 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.

share|improve this answer

go to menu Window -> Preferences, here go to General -> Appearance -> Colors and Fonts, this show configurations for perspectives, like java. In java option, select The Java editor text font is used by Java editors. and after Edit ... button, here you can change the font propieties.

share|improve this answer
2  
When I said "Obviously, changing it in Eclipse preferences doesn't do it", that means I already tried that. –  David M. Karr Jun 28 '12 at 2:03
    
so what you need ? the answer changes the font, i test. –  Andrés Ricardo Torres Martínez Jun 28 '12 at 2:26
    
Ok, you're right, that changes the editor view. However, I appear to be unable to change the font size for the other views. –  David M. Karr Jun 28 '12 at 15:46
    
you want change the font of all IDE (menu, panel, etc) ? –  Andrés Ricardo Torres Martínez Jun 28 '12 at 16:00
    
That's the idea, yes. –  David M. Karr Jun 28 '12 at 23:05

I tried Myunity on ubuntu12.04 64bit and it worked. If you change system font it affects the fonts of eclipse in menus and tabs. For the text contents in text editors of eclipse you should change font settings from properties page of eclipse itself.

share|improve this answer

Follow this steps:

  • Open Preferences under window menu:

enter image description here

  • Go to GeneralEditorsText Editors

enter image description here

  • Select Colors and Fonts blue link under Text Editors

enter image description here

  • Now you will see this window.

enter image description here

  • Just pess Edit and resize your text font

enter image description here


You can also find it from GeneralAppearanceColors and Fonts then select Text Font under Basic option.

enter image description here

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.