Possible to use thin, sharp monospaced font in NetBeans 11? - netbeans

I really liked the default look of the code font that was used in NetBeans 8. See screenshot below. To me it was really sharp and easy to read.
In NetBeans 11 though, the font is quite blurry, and it also looks bold even though the style is not set to bold.
Is it possible to configure NetBeans 11 in some way, so that it will use a sharp font, as in NetBeans 8?
If you zoom in, you can see that in both versions, the text is anti-aliased, so it should not have anything to with anti-aliasing settings.
I guess it may have to do with the JDK and environment used. I run Ubuntu 19.
Examples:
NetBeans 8:
NetBeans 11:

Apparently it was a bug in the JDK,
https://bugs.openjdk.java.net/browse/JDK-8212071
which according to this page
https://cwiki.apache.org/confluence/display/NETBEANS/Font+Rendering+Issues
was fixed from JDK 11.0.6.
I tried updating to Oracle JDK 13.0.2 and now the font looks good again.

Related

very small fonts and icons on 4k screens

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

Netbeans bold text after Sierra update

This isn't something that is holding me up, but its annoying.
In Netbeans (I was using 8.1, updated to 8.2--the problem exists in both), the bottom bar text appears in a bold font that does not render very nice at all. On my laptop monitor (Macbook Pro, retina) the font is still bold, but at least not so jagged looking. On either of my two external monitors (both 1920x1080) the text looks terrible. When I hover over the next, previous or select buttons the bold text goes away and they look fine.
This happens with font smoothing enabled or disabled. Any ideas?
enter image description here
I never did figure this out. Changing the IDE look and feel to Nimbus fixes it--sort of. I have to use the Nimbus Look and Feel, but its actually pretty nice looking.

How to increase font size/font family of NetBeans IDE? (not the text editor's 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.

Why does Eclipse Java Package Explorer use the System Font?

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.

Turn off anti-aliasing in Emacs

I'm using Proggy (ProggyCleanTTSZ 12 in .Xdefaults) font in Emacs. I'm not happy with how my OS (Ubuntu 10.10) applies anti-aliasing to it. How do I disable it?
You can set font options in your .Xdefaults (or .Xresources - whichever you are using). This allows you to disable anti-aliasing in emacs, but still have it enabled elsewhere.
emacs*font: ProggyCleanTTSZ-12:antialias=false
See also the fontconfig user guide
Font rendering is generally handled by the OS libraries rather than the application, so you need to tell Ubuntu not to anti-alias that particular font. It's been a few years since I worked much on Linux, but if things haven't changed, you can configure this by editing a file (maybe something like /etc/fonts/fonts.conf or ~/.fonts.conf or something similar).
https://wiki.ubuntu.com/Fonts#Manual_Font_Smoothing might help.