On Fri, 7 Feb 2025 19:30:48 GMT, Alexey Ivanov <aiva...@openjdk.org> wrote:
>> If it test runs fine on CI then it should be okay. Previously, I came across >> few tests which required increasing tolerance value (although not in this >> context but particularly for pixel color case). > > Tolerance when comparing colours is different from comparing sizes. > > We know that fractional pixels after scaling up and down may be lost, that's > where the tolerance comes from. @aivanov-jdk > We know that fractional pixels after scaling up and down may be lost, that's > where the tolerance comes from. You are right, scaling up and down a fractional pixel can be at most be off by one pixel. ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/23449#discussion_r1954993246