-
-
Notifications
You must be signed in to change notification settings - Fork 144
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Native] Scaling issue on Windows 10 with HiDPI and Java 10 #101
Comments
I digged in the solutions and indeed noticed that the JVM flag does not fix the issue. I have been however able to fix rendering by editing bundled_jre/bin/java.exe properties by mouse clicks. The configuration differed from the stackoverflow advice so I printed my screen for you to reproduce the steps. My screen are in french, but basically
|
You may use EmulGL instead of JOGL for rendering with Jzy3D. EmulGL is made to enhance charts portability across computers. See links to examples in the readme. |
Fix in progress here #235 |
Available in Maven repo under |
Chart is not scaled properly under Windows 10 with HiDPI monitors & Java 10-11 : chart get displayed half size on a corner for HiDPI windows stations on native charts (EmulGL is a very good portability workaround).
Cases
All rendering glitches under Windows 10 with an HiDPI monitor are below with a demo programs reference from jzy3d-tutorials.
Case 1 : half chart on screen
Happens for the following
IPainterFactory
SurfaceDemoAWT
)SurfaceDemoAWTNewt
)SurfaceDemoSWTBridge
)Case 2 : chart full screen but not using HiDPI capabilities
Chart are displayed on complete canvases but do not make use of HiDPI capabilities which makes the chart ugly relative to other applications displayed on the same monitor.
SurfaceDemoSwing
)Case 3 : properly working
SurfaceDemoSWT
)Workaround : use EmulGL
SurfaceDemoEmulGL
)It turns out to be a known problem with the way the JVM supports HiDPI, which is discussed in JOGL forum.
Workarounds are proposed here.
The text was updated successfully, but these errors were encountered: