Login  Register

Re: HiDPI scaling with Newt

Posted by Jake on Aug 30, 2018; 8:57am
URL: https://forum.jogamp.org/HiDPI-scaling-with-Newt-tp4039152p4039156.html

Thanks I will have a look.

Just using reflection to force new scaling factors changed the scale of the what was drawn, but it didn't change the canvas size (for reasons mentioned in the other ticket).

I might initially try to override the getClientArea method of the newt canvas to not return the scaled values, and see if that works.

I fear it might require deep diving into what SWT expects from a UI component for it to work with hiDPI...