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

Kevin Rushforth kcr at openjdk.java.net
Fri Jun 12 16:33:55 UTC 2020


On Wed, 3 Jun 2020 15:46:36 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.

@Schmidor in general, we don't use the `/issue` command to identify other issues that happen to be fixed by a commit.
Rather, if they are the same bug, or if one is caused by the other, we would closed the other one as a duplicate. This
seems like a good thing for me to add to the [CONTRIBUTING](https://github.com/openjdk/jfx/blob/master/CONTRIBUTING.md)
guidelines.

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

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


More information about the openjfx-dev mailing list