Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Change default font in netbeans?

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.

like image 337
King Julien Avatar asked Aug 18 '12 20:08

King Julien


People also ask

What is the default font in NetBeans?

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".

How do I make NetBeans look bigger?

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.

How do I increase the font size in NetBeans menu?

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.


1 Answers

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.

like image 184
Andy Dingfelder Avatar answered Sep 20 '22 11:09

Andy Dingfelder