Bug 1373 introduced Soft-PixelScale for Windows and X11. On Windows the Scale-Factor is not honored at window creation nor on change under NEWT.
Resolved as described.
On X11 the Scale-Factor is also not honored at window creation under NEWT. Since the scale factor is retrieved via environment variables, see Bug 1373, changing the scale factor is currently not supported.
commit 34c423ed8ade1d3b42cf31b034f9a789a0cdae98 Bug 1524 - NEWT High-DPI Soft-PixelScale on X11: Honor OS Scale-Factor at Creation
commit 224322e5eb5e26914dc635bd7aa1ec4afd393f05 NewtCanvasSWT DPI Scale X11/Windows: We don't require pre-scaled size anymore Since fixing Bug 1373 and Bug 1524, X11 and Windows NEWT windows are created (and changed) with respect to the Soft-PixelScale factor.
commit 48e5c3df585d7bf3a9adec00b812a4efb139992d Bug 1524 - NEWT High-DPI Soft-PixelScale: Fix NewtCanvasSWT regression Regression of commit 224322e5eb5e26914dc635bd7aa1ec4afd393f05 NewtCanvasSWT.updatePosSizeCheck can only issue newtChild.setSurfaceScale() if newtChildReady. Further issue newtChild.setSurfaceScale() also in swt paint event if pending and always after newtChild.setSize().