On Mon, 22 Feb 2021 18:34:42 GMT, Sergey Bylokhov <s...@openjdk.org> wrote:

> 
> 
> The rendering of the test may be affected by the uiScale, but when this test 
> is executed, it uses only one-same scale for both use cases(different 
> strings), and both of them should produce the same result.

I compared the images produced by the test. The images are different in the 
same way as displayed on the screenshots above with 200%.

When using uiScale=1, the images are the same and no clipping occurs in this 
case. If no clipping occurs, the test does not test anything, does it?

The test has to ensure the string gets clipped so that ‘…’ replaces the part 
that does not fit in the size provided, and the result of clipping must be the 
same. This should not depend on the uiScale.

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

PR: https://git.openjdk.java.net/jdk/pull/2502

Reply via email to