[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openjdk-openjfx-dev
Subject:    Re: [Rev 02] RFR: 8234471: Canvas in webview displayed with wrong scale on Windows
From:       Guru Hb <ghb () openjdk ! java ! net>
Date:       2020-03-26 9:42:38
Message-ID: l2vM8jFl6JZz4fGhvvZvqz9TJfV1aiLFSOouyEiClZc=.9317f918-7afb-48d5-aa65-16af9bb961d8 () github ! com
[Download RAW message or body]

On Wed, 25 Mar 2020 18:12:41 GMT, Arun Joseph <ajoseph@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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic