It sounds like it is best to avoid using java logical fonts and stick with physical fonts. Is there a list of all the fonts that are bundled with the NCL and can these be customized? When fonts are substituted and not equal width it really messes with graphics in Vision.
The problem here seems to be that Swing is by default claiming that it is DPI aware, so windows doesn't scale it. Use this switch to turn off this behavior and windows will start scaling your swing app:
[EDIT 2: You can modify a Java 8 install to work correctly, using a program to modify the EXE manifests. I changed the setting from true to false in the manifests inside of java.exe and javaw.exe, and now my Swing programs scale correctly in Windows 10 high dpi. I used Resource Tuner to this.]
If you can add parameters to the java binary which launches the application, you can use the option -D to pass a value for the sun.java2d.uiScale proprty to specify a scaling factor for Java2D. This will scale your application. The scaling factor value is a double. Make sure that you pass this option to the java binary itself, not the launched Java application.
So, increasing the font size does not work (because it does not increase the rest of the things); the jvm argument -Dsun.java2d.dpiaware=false does not work (because it is not really supported); and the manifest file + registry edit (for Windows) just does not work.
Go to C:\Program Files (x86)\Java\jre\bin and find javaw.exe. Right click, properties, compatibility tab, check "override high DPI scaling behavior" and select "System" (Note that "System enhanced" did not work for me).
Using Yum Installer:$ sudo yum install java-17-openjdk$ java -versionopenjdk version "17.0.2" 2022-01-18 LTSOpenJDK Runtime Environment 21.9 (build 17.0.2+8-LTS)OpenJDK 64-Bit Server VM 21.9 (build 17.0.2+8-LTS, mixed mode, sharing) Using Tar.xz File:Download the file Here
You'll need to close and re-open any command windows that were open before you made these changes, as there's no way to reload environment variables from an active command prompt. If the changes don't take effect after reopening the command window, restart Windows.
When you have installed a 64-bit LibreOffice, and 32-bit JRE, LibreOffice would not be able to find and use the JRE, no matter how hard you would try it. Take care that you download from the Java home page (www.java.com) the right architecture. In this case, LibreOffice (of reasonably fresh version) would try to be helpful in its "JRE Required" error message, telling you that it needs specific architecture (e.g., 64-bit) of JRE.
caa09b180b