Discussion:
menu fonts
Johnny Tolliver
2006-05-01 18:53:03 UTC
Permalink
What influences the font style and size of the menus in NetBans 5.0?

I have a new laptop. Everything looks great on it except the font used in
the NB 5 menubar and context menus. Compared to my old laptop or a desktop
machine running NB 5, the text in the new laptop menus is larger and
uglier. This larger font appears in no other app that I've tried, just
NetBeans. How is the font for the menus chosen?

All machines have stock NB 5 installations with identical netbeans.conf files.
All the rest of the text looks fine, and the toolbar icons look the same on
all three machines. It's just the menu bar and the context menus that look
bad.

Any idea what might be different? Thanks.
Claudio Miranda
2006-05-01 20:31:14 UTC
Permalink
As for the font size you can specify the size at etc/netbeans.conf with
property: --fontsize 10
For the font type, try to look at the default font for the editor,
maybe could help you to diagnose which font is used to render the
netbeans menubar and context menu. So you can remove those fonts from
your OS.

[]s

Claudio
Post by Johnny Tolliver
What influences the font style and size of the menus in NetBans 5.0?
I have a new laptop. Everything looks great on it except the font used in
the NB 5 menubar and context menus. Compared to my old laptop or a desktop
machine running NB 5, the text in the new laptop menus is larger and
uglier. This larger font appears in no other app that I've tried, just
NetBeans. How is the font for the menus chosen?
All machines have stock NB 5 installations with identical netbeans.conf files.
All the rest of the text looks fine, and the toolbar icons look the same on
all three machines. It's just the menu bar and the context menus that look
bad.
Any idea what might be different? Thanks.
--
Claudio Miranda
___________________________________________________________________
http://weblogs.java.net/blog/claudio claudio|em|claudius.com.br
http://www.summa-tech.com Summa Technologies do Brasil
http://www.soujava.org.br
Johnny Tolliver
2006-05-02 20:23:31 UTC
Permalink
Post by Claudio Miranda
As for the font size you can specify the size at etc/netbeans.conf with
property: --fontsize 10
Yes, thanks, that fixed it. Size 11 seems to work, but that's supposed to be
the default, and indeed it does seem to be the default for the font used in
the Projects list, editor tabs, and elsewhere. Somehow, though, without an
explicit setting, the font used in the menus runs bigger on this laptop.
Explicitly setting the fontsize to 11 in netbeans.conf makes the font/size
used in the Projects list and the menus be the same.

This is a 1600 x 1200 pixel resolution laptop screen. Is it possible that
somewhere deep in NetBeans some code has decided that a fontsize of 11 is too
small for the menus at this resolution and "kindly" increased it for me
without asking? This odd fontsize in the menus only occurs in NetBeans, not in
other apps and not in, for example, the SwingSet Java Swing demo.

Johnny S. Tolliver
Oak Ridge National Laboratory
***@ornl.gov, 865-574-1305

Continue reading on narkive:
Loading...