There is no way to adjust the font or font size of the Java Package Explorer. It inherits the font settings from the system. In the case of Windows XP, the default 8 point font is too small for my taste. I'd like to enlarge it. When I do that, however, this affects the browser and other applications and in some cases makes the font too large in other contexts (such as Firefox Tab Text).
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.
Related
I'm using CFeclipse on Windows 10 OS.
With the adaptation of new 4k resolution laptops. Eclipse displays small icons and fonts. Its also reported as a bug in https://bugs.eclipse.org/bugs/show_bug.cgi?id=451693.
The mentioned bug has been fixed, Eclipse automatically scales images on high-DPI monitors on Windows since Eclipse Neon (4.6). So, make sure your Eclipse IDE is up to date.
If upgrading does not fix your issue, in eclipse.ini add the following line below the line -vmargs (see Tweaking SWT's auto-scaling):
-Dswt.autoScale=200
(In contrast to the compatibility mode of Windows, this is the way to get the double-resolution icons.)
To solve the problem in Windows 10.
Right click Eclipse Icon
Select Properties
Compatibility Tab
Under Settings Section check
Override High DPI scaling behaviour. Scaling performed by.
Select System.
Then Apply or Ok
I haven't encountered it yet in other application but this solution might also work for other apps that displays small icons and fonts.
This solution also works in Ultraedit,FastStone capture
The steps also helps for Coldfusion installer that appears too tiny to be readable or other Application installer in a 4k screen that shows everything too small.
I was having problems with a Windows 10 RDP connection using a Surface Pro machine. A recent update made Eclipse virtually unusable.
This solution worked perfectly :
Right click Eclipse Desktop Icon
Select Properties
Compatibility Tab
Change high DPI settings
Override High DPI scaling behaviour. Scaling performed by. Select
System.
Then Apply or OK
I then had to slightly adjust the font size within Eclipse itself. I found I could use a slightly smaller font
I'm having a problem with NetBeans fonts on my computer which for some reason are getting distorted. I decided to open this question because all searches I made ended up on how to change the fonts of the text editor but not of the IDE itself. As you can see on this printscreen, it is kinda hard to read because of this missing parts of the characters. I was having exactly the same problem with burp suite then I increase the font-size (didn't found a option there to change font-family) and it solved a little bit. I think that if I change these configurations it will be easier for me to read. Thanks in advance.
The solution came from http://wiki.netbeans.org/FaqFontSize
There's 2 options to do:
Run netbeans with the additional --fontsize X parameter from the commandline
Edit the netbeans.conf file located in the %NETBEANS_INSTALLATION_DIRECTORY\etc directory and at the part that says netbeans_default_options=.... append --fontsize X (Be sure that the option -J-Dsun.java2d.dpiaware is set to true. Netbeans will ignore the --fontsize instruction if is false).
This should change the default GTK font size. As noted in the link, it may not work in Gnome desktop environments because the font there is controlled by Gnome.
The netbeans.conf file for 10.x seems to have a slightly different syntax than previous versions.
In 8.2, adding "--fontsize x" worked. I couldn't get it to work in 10.0.
But adding "--fontsize x" to the start cmd works fine and doesn't compromise the font crispness when using a HD screen.
All of the buttons for run, debug, new class, etc. are incredibly small and almost unreadable. I'm just wondering if there's a way I can get them to be larger. I'm new to eclipse and java and don't have much knowledge on the program or its settings.
This is typically controlled by your host OS settings. I don't have Windows 8, however on all other OS'es I've had to change the default system font to be larger to effect those used in the Eclipse UI.
Also there are some editor preferences in Eclipse itself that can modify some of these font sizes, however it's usually only the editor font, not the font used on controls.
edit:
I actually found a way to do this which is somewhat of an hack that's sort of detailed here https://stackoverflow.com/a/19675350/663367
Install the Eclipse 4 CSS Editor plug-in http://marketplace.eclipse.org/content/eclipse-4-tools-lightweight-css-editor
Go to the Preferences in Window > Preferences > General > Appearances, you should see a Theme selector, and then a big text area with some CSS-like annotations. By editing the CSS directly, you can increase the font size of pretty much everything, but Table Headers (my sole pet-peeve).
Is it possible to change the default font in netbeans? The documentation says:
The font Monospaced is maped to different fonts on different systems.
On Windows it is mapped to "Courier ", on Linux it is mapped to
"Lucida Typewriter".
http://ui.netbeans.org/docs/ui/editor_fonts_colors/Editor_fonts_and_colors.htm
I'm on windows and want to map Monospaced font to 'Consolas' instead of 'Courier'.
P.S. I know that fonts can easily be changed from options, but when I change it in this way, I can no longer use unicode characters. Guess I need to do what they call 'mapping' the monospaced font to other font.
Tools > Options > Fonts and Colors
Set the category "Default", and to the right of that, the font you want to use.
If this does not fix it, try adding:
--laf Nimbus -J-Dswing.aatext=true -J-Dawt.useSystemAAFontSettings=lcd
or
-J-Dswing.aatext=true -J-Dawt.useSystemAAFontSettings=lcd --laf Metal
to the file : netbeans.conf. You can find it in $NETBEANS_HOME/etc/ folder. Make your application font smaller from system preferences.
To change the font size outside of the editor you can configure by editing the Net Beans conf file, you can find it here:
C:\Program Files\NetBeans 8.0.2\etc\netbeans.conf
Then edit this line:
netbeans_default_options="..."
by adding this at the end:
--fontsize 18
I hope it helps :-)
Life becomes more easier now. Just from Tools menu choose Options and then follow steps on the following screen shot and take care with step 3 and 4 which they are making the default font for all languages:
I have a NetBeans plugin called 'UI-Editor' which allows you to customize virtually any Swing property, including font sizes, colors, and types. Go to Tools->Plugins and search for 'UI-Editor' or go here: http://plugins.netbeans.org/plugin/55618/?show=true
also don't not forget to change the font to the one that support Arabic like Arial for example i am not sure of some one mention that i just tried it
As far as I can tell there's no way to do this. jEdit (http://jedit.org) also uses Swing and DOES do font substitution for all fonts - there's a "automatic font substitution" checkbox in Global Options > Text Area, along with a list of preferred fonts. But jEdit is otherwise not as capable as Netbeans.
Eclipse on Linux (GTK+) has rather large UI elements which wastes screen real estate. Compare the Linux version (taken on Ubuntu 9.10):
with the Windows version:
Note the vertical size of the Project Explorer tab, the menubar, and the toolbar. Is it possible to tweak this somehow? How does this look in other Linux distributions?
There are some blog entries for making Eclipse GTK gui less "clumsy". Note that you have to modify the gtkrc file in most cases:
Making Eclipse good on Linux
Tweaking Eclipse UI
Smaller font sizes for Eclipse on Linux