This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 42766

Summary: IDE run w/ GTKLookAndFeel ignores --fontsize
Product: platform Reporter: _ ttran <ttran>
Component: Window SystemAssignee: _ tboudreau <tboudreau>
Status: CLOSED WONTFIX    
Severity: blocker Keywords: GTK, RELNOTE
Priority: P2    
Version: 4.x   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:

Description _ ttran 2004-05-04 13:32:15 UTC
linux, jdk 1.5.0 b49, IDE from CVS 2004-05-04

$ netbeans --fontsize 30

The code editor uses the big font size but menus,
explorer, etc ignore it.
Comment 1 _ tboudreau 2004-05-04 15:57:26 UTC
This can't be fixed - our mechanism of specifying a font size is by putting custom fonts 
into UIDefaults.  Synth/Gtk look and feel does not use UIDefaults to get fonts.  The only 
way to alter what fonts it uses is to change the desktop font/theme.

The best we could achieve here is an ugly mix of custom font size for our custom 
components, and whatever Gtk wants to use for the rest.  That would be worse than not 
supporting -fontsize on Gtk look and feel.  

Short of lobbying the Swing folks to go back to using UIDefaults for these things in GTK, 
there is no way to solve this on our end.  Sorry.
Comment 2 _ ttran 2004-05-04 16:06:12 UTC
I am okay with not fixing this.  Added RELNOTE keyword
Comment 3 _ tboudreau 2004-05-04 16:23:11 UTC
Added some code to core/Main to log a warning if NetBeans is started on GTK L&F with --
fontsize.
Comment 4 _ tboudreau 2004-05-05 10:57:45 UTC
*** Issue 42765 has been marked as a duplicate of this issue. ***
Comment 5 Marian Mirilovic 2004-07-29 13:56:44 UTC
verified