– Re: JOGL broken with JRE>8 and Windows window-scaling
In Reply To
Re: JOGL broken with JRE>8 and Windows window-scaling
which canvas do you use. I was able to workaround the scaling issues (OpenJDK 12) on NewtCanvasSWT by introduce an SWT scaling.
I also patched the SWT_AWT class for Windows introducing a wrong layout, see (only 200% but not 150% works in SWT):
You might also play with the following java vm arg settings to scale Swing/Awt (AWT has still some issues):
see (in one answer):
It might be that the GLCanvas (client area) must be scaled, too, to make an appropriate layout, see:
As afore mentioned on SWT I did this with the Dpi API: DPIUtil.autoScaleUp(getClientArea());
which I thin only allows 200%, 300% settings so a zoom factor would be more appropriate.
Free forum by Nabble
Edit this page