On Mon, 6 Jan 2020 04:42:54 GMT, Guru Hb <g...@openjdk.org> wrote: >> This bug can be reproduced when the screen resolution is at 125%, 150% and >> 175% for Windows, which correpsonds to >> `pixelScale` values of 1.25, 1.5 and 1.75, respectively. >> Issue: The rectangle inside canvas is rendered on `pixelScale` while the >> borders are rendered on `Math.ceil(pixelScale)` >> >> Fix: Use `Math.ceil(pixelScale)` for calculating `pixelScaleTransform` > > have you tested this on Linux and Mac by changing JVM option > -Dglass.win.uiScale=<Scale value>.
This looks like the correct fix, and I can confirm that it does fix the problem. I'll run a set of regression tests on Windows 10 with 125% scaling (which is my normal environment) and then finish my review. ------------- PR: https://git.openjdk.java.net/jfx/pull/62