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

List:       openjdk-openjfx-dev
Subject:    Re: [Rev 01] RFR: 8234471: Canvas in webview displayed with wrong scale on Windows
From:       Arun Joseph <ajoseph () openjdk ! java ! net>
Date:       2020-02-25 7:11:43
Message-ID: FapGz0AchNLLzyXUSa89XSZOL0CgVJLxXF53nK-9ghk=.1de41842-302d-401b-b204-dd4bd202d385 () github ! com
[Download RAW message or body]

> 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`

The pull request has been updated with 1 additional commit.

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

Added commits:
 - ea422a78: Added CanvasTest

Changes:
  - all: https://git.openjdk.java.net/jfx/pull/62/files
  - new: https://git.openjdk.java.net/jfx/pull/62/files/fde17b8c..ea422a78

Webrevs:
 - full: https://webrevs.openjdk.java.net/jfx/62/webrev.01
 - incr: https://webrevs.openjdk.java.net/jfx/62/webrev.00-01

  Stats: 133 lines in 1 file changed: 133 ins; 0 del; 0 mod
  Patch: https://git.openjdk.java.net/jfx/pull/62.diff
  Fetch: git fetch https://git.openjdk.java.net/jfx pull/62/head:pull/62

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