Hi Brad,

then the important point for me is, it seems not to be a problem of
NetBeans, but a problem of the JDK installation, which probably differs
between Linux distros.

As different LAFs seems to handle these problems themselves, this might
not be a problem everybody notices; but if You get problems with other
programms, too, this will probably (hopefully) get more attention in the
future, so let's wait for updates ... ;)

Kind regards

Peter



Am 25.06.21 um 20:09 schrieb Bradley Willcott:

Hi.

Thanks Peter.  Had a look.  None of the files mentioned exists in my
OpenJDK 15.0.2 implementation.

However.  As far as NB 12.4 is concerned, I have a workaround:

  * Tools -> Options -> Appearance -> Look & Feel (tab):
      o Preferred look and feel: "Nimbus" or "Dark Nimbus"  <== Fixes
        font problems for Menus and dialogs, etc.
  * Tools -> Options -> Fonts & Colors -> Syntax (tab):
      o Language: "All Languages"
      o Category: "Default"
      o Font: "Noto Sans Mono 12"  <== Change to this or some other
        font of your choice - Don't leave it to the "Factory Setting"
        default.
  * Tools -> Options -> Miscellaneous -> Output (tab):
      o Font: "Noto Sans Mono 12"  <== Change to this or some other
        font of your choice - Don't leave it to the "Factory Setting"
        default.

It might be worth the effort for someone in the know, to look into the
difference between how the "Nimbus" themes handle the various font
settings and how the other themes that don't work properly do it. 
Maybe these other themes could be updated to use a similar font usage
methodology.  Relying on the JDK/OS to provide default fonts may not
be a good idea anymore.

I found that the problem was bigger than I first thought.  It also
affected another program I use: "Rational Plan".  Haven't solved that
one yet.  What concerns me more though, is how many other programs
will be affected.

Regards,
Brad.


On 25/6/21 1:10 am, Peter Nabbefeld wrote:
Hello,

I got problems with fonts on Linux, too, with NB 12.4 running on Java
16.

I'm not sure, if the following article is related:
https://docs.oracle.com/en/java/javase/16/intl/font-configuration-files.html


Especially, the following statement:
"For Linux, the Oracle JDK is moving away from providing custom font
configuration files on Linux platforms, as they are difficult to keep up
to date across distributions and versions."

Kind regards
Peter



Am 23.06.21 um 11:48 schrieb Lister Jonathan:
Not much help for you, but NB 12.4 fonts look OK for me without any
serious tweaking on Ubuntu 20.04.
This is FlatLaf Dark.
J
------------------------------------------------------------------------

*From:* Bradley Willcott <optusprepa...@gmail.com>
*Sent:* Wednesday, June 23, 2021 10:38 AM
*To:* NetBeans Mailing <users@netbeans.apache.org>
*Subject:* re: v12.4 Fonts wrong

Hi.

Some more info.

I went through all the standard themes and found that only the
*Nimbus* and *Dark Nimbus* themes provided an override to the small
italicised fonts.  However, as you can see in the attached screenshot,
even that did not fix the problem in the editor or the output windows.

Any thoughts/ideas on fixing this?

Thank you,
Brad.



---------------------------------------------------------------------
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




---------------------------------------------------------------------
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