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 - IDE run w/ GTKLookAndFeel ignores --fontsize
Summary: IDE run w/ GTKLookAndFeel ignores --fontsize
Alias: None
Product: platform
Classification: Unclassified
Component: Window System (show other bugs)
Version: 4.x
Hardware: PC Linux
: P2 blocker (vote)
Assignee: _ tboudreau
Keywords: GTK, RELNOTE
: 42765 (view as bug list)
Depends on:
Reported: 2004-05-04 13:32 UTC by _ ttran
Modified: 2008-12-22 16:00 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Note You need to log in before you can comment on or make changes to this bug.
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 --
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