RFR: 8219641: java/awt/font/Rotate/RotatedTextTest.java fails on Linux: Test failed for angle 15.0

Alexey Ivanov aivanov at openjdk.org
Mon Sep 18 14:56:39 UTC 2023


On Mon, 18 Sep 2023 14:34:31 GMT, Matthias Baesken <mbaesken at openjdk.org> wrote:

> The test RotatedTextTest shows a small width difference in the rotation (but the test assumes the width difference is 0 and fails). I wonder if the test can really assume a width difference 0 , is this really what we can expect for all fonts on the various distros ?

Perhaps, the test should allow for some small differences in widths. It could still be a bug in JDK where rounding isn't handled precisely.

By choosing a different default font we may mask a problem.

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

PR Comment: https://git.openjdk.org/jdk/pull/15780#issuecomment-1723611031


More information about the client-libs-dev mailing list