On Fri, 20 Jun 2025 at 18:18, Mitch Claborn <i...@hatcherymanager.com> wrote:
> Just had an epiphany: I have been adding "--fontsize 16" to netbeans.conf for 
> years (old man, old eyes). I removed that and the "defaultFont=36" took 
> effect. "--fontsize 16" must be overriding or inhibiting some of the FlatLaf 
> settings. (A warning/error in this situation would be helpful.)

Great!  Glad you got it sorted.  That'll be this I guess -
https://github.com/apache/netbeans/blob/master/platform/o.n.swing.plaf/src/org/netbeans/swing/plaf/AllLFCustoms.java#L105

There's some code that skips that on GTK.  We should look at whether
we can just pass the font size into FlatLaf to let it handle this.
Mind you, also noticed according to
https://github.com/apache/netbeans/blob/master/platform/o.n.bootstrap/arch.xml#L685
that --fontsize is deprecated anyway!  Maybe we should just warn
whenever it's set?

Best wishes,

Neil

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
For additional commands, e-mail: users-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to