Re: Font difference between XFCE and Cinnamon
Neil C Smith <[email protected]> Fri, 20 Jun 2025 18:42:58 +0100
| Newsgroups | gmane.comp.java.ide.netbeans.user |
|---|---|
| Message-ID | <CAMYaZEtoE2W2sgLM6afm24OXveK=RZcRCdi595ZMiRk71_2bwg@mail.gmail.com> |
On Fri, 20 Jun 2025 at 18:18, Mitch Claborn <[email protected]> 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: [email protected] For additional commands, e-mail: [email protected] For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists