[Rev 02] RFR: 8234471: Canvas in webview displayed with wrong scale on Windows

Guru Hb ghb at openjdk.java.net
Thu Mar 26 09:42:38 UTC 2020


On Wed, 25 Mar 2020 18:12:41 GMT, Arun Joseph <ajoseph at 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`
>
> Arun Joseph has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Updated test

Marked as reviewed by ghb (Reviewer).

-------------

PR: https://git.openjdk.java.net/jfx/pull/62


More information about the openjfx-dev mailing list