'Java 11 + Oracle Forms-Standalone Launcher + 125%-Zoom = blurry application
After we switched from Java 8 to Java 11 with our Oracle Forms + Reports-Application, the GUI-font appears quite blurry when zoomed to 125% or 150%. For testing we switched back and replaced Java 11 with Java 8 and the application appeared fine when zoomed. How to fix it with Java 11?
We already tried the solutions we found online but nothing worked: Starting Java 11 with -Dsun.java2d.ddscale=true has no effect. Another possible solution would be to adjust the default DPI awareness mode of our application but we have no clue how and where to put a manifest file.
Any ideas?
Solution 1:[1]
This problem is most likely the result of an unsupported font in Java 11. So, the best way to fix this is to switch to a supported font. The hard task is to switch to a font that look similar. Since I do not know which font is the culprit, I can't tell you which one to use that is supported on Java 11. You could "Google" it.
To learn more about default fonts in Java, read these articles
- https://docs.oracle.com/javase/tutorial/2d/text/fonts.html
- https://docs.oracle.com/en/java/javase/11/intl/font-configuration-files.html#GUID-48F5ADDD-FB48-461D-8F26-9805DFB783CD
You may have to reach out to Oracle Forms support if the problem can't be solved through conventional ways. For example, for Swing apps, in order to change the default font, you have to modify the loaded LookAndFeel of the application.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | hfontanez |
