RFR: 8342098: Write a test to compare the images [v2]
Alexey Ivanov
aivanov at openjdk.org
Wed Oct 30 12:33:17 UTC 2024
On Wed, 30 Oct 2024 10:51:53 GMT, Tejesh R <tr at openjdk.org> wrote:
> > > Also the test is failing in windows local machine. Can you re-confirm once by testing it in any Windows machine? Or is there anything I might be missing while testing?
> >
> >
> > Its color profile issues, will pass with sRGB.
>
> The test passes with 100% scale, but fails with 200% scaling. I see the captured image is slightly blurred at letter edges. Is this related to color profile ?
No, it's not related to color profile but it's related to the scale.
The image is rendered at 100%, and if the monitor uses any other scale, the image will be scaled up on the display. It is expected.
However, the updated test includes `-Dsun.java2d.uiScale=1` as Phil requested in [this comment](https://github.com/openjdk/jdk/pull/21524#discussion_r1805263931), so the test should pass in high DPI environments.
@TejeshR13 Did you run the test with jtreg?
-------------
PR Comment: https://git.openjdk.org/jdk/pull/21524#issuecomment-2446978009
More information about the client-libs-dev
mailing list