Linux – Eclipse – changing font size in project/package explorer

configurationeclipselinux

I'm using two environments, one with 24" screen, second one with 15". I need default font size of content of project/package explorer in the first one, but small font size for the other one.

Is there any way how to change it within eclipse? I mean not within operating system ? Because it always influences other font size on desktop. I'm reffering to this question.

If there is no way, please describe how would you do it in Linux – distribution independently.

Best Answer

I have a 17 inch Mac Book Pro which is frequently hooked up to 27 inch high res display and the font size in the package explorer was way too small. Eclipse is supposed to respect the OS settings but it turns out on Mac OS X the default setting for eclipse is to use small Fonts rather than the standard os fonts.

on Mac OS X you can change edit the eclipse.ini file and remove -Dorg.eclipse.swt.internal.carbon.smallFonts restart eclipse and presto you will find that your package explorer looks brilliant with reasonable sized fonts.

You make have to use the Finder option "Show Contents" on the Eclipse.app to find the eclipse.ini file, and, the smallFonts line may occur more than once in the .ini file.