-
-
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
[EmulGL] Improve rendering quality on HiDPI Windows10 #140
Comments
Interesting comparison of offscreen painting vs onscreen painting quality |
Maybe it is related with this JFreeChart issue : jfree/jfreechart#170 and a possible fix ? |
Applying the trick suggested by @vsonnier allows improving the pixel ratio (everything looks thiner), however, it does not deal with the aliasing effect. See work in progress in "hipdpi" branch of jGL. Pull request started to ease review of the changes. |
Disabling @vsonnier suggestions, then applying the idea of reseting the internal JVM Graphics2D scaling to 1 lead to a too small image but with no aliasing issue. |
Works on MacOS as well, but noticed a rendering performance slightly larger (pixel ratio is 2x on MacOs with Retina, 1.5x on my windows running on Apple hardware with Bootcamp).
|
Can be edited with chart's Quality setting. |
Below chart shows an aliasing improvement required on a chart rendered in Windows10 with HiDPI configuration.
Using CPU based rendering with this aliasing glitch remains a good workaround for the badly scaled native charts with GPU based rendering (which issue can be found here #101)
To reproduce thi aliasing problem
The text was updated successfully, but these errors were encountered: