[jfx15] RFR: 8220484: JFXPanel renders a slanted image with a hidpi monitor scale of 125% or 175% [v6]

Prasanta Sadhukhan psadhukhan at openjdk.java.net
Wed Jul 22 12:59:48 UTC 2020

On Mon, 20 Jul 2020 18:11:34 GMT, Oliver Schmidtmer <github.com+10960818+Schmidor at openjdk.org> wrote:

>> In edge cases where monitor scaling of 1.25 or 1.75 is active, Math.ceil and Math.round produce different results and
>> EmbeddedScene#getPixels in JFXPanel#paintComponent causes an off-by-one error on the line width and therefore sheared
>> rendering.  The changes were already proposed by the submitter in JBS-8220484.
>> OCA is signed and send.
> Oliver Schmidtmer has updated the pull request incrementally with two additional commits since the last revision:
>  - run test only on windows
>  - Typo

Marked as reviewed by psadhukhan (Reviewer).


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

More information about the openjfx-dev mailing list