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.
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".
Right click on your Netbeans shortcut (C:\ProgramData\Microsoft\Windows\Start Menu\Programs\NetBeans) and select Properties. Go to the Compatibility tab and then select Change High DPI Settings. From there, check the Override High DPI Scaling box and set it to System. Save this answer.
The solutions work for Menu and Project Tab. For output window, you can just press Ctrl + Up or right click in the area and select Larger (or smaller) 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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With