RFR: 8339974: Graphics2D.drawString doesn't always work with Font derived from AffineTransform [v2]
Daniel Gredler
duke at openjdk.org
Mon Oct 7 18:14:38 UTC 2024
On Fri, 4 Oct 2024 21:10:58 GMT, Phil Race <prr at openjdk.org> wrote:
> Perhaps you can add some extra tolerance and print out the values that caused the failure
Done.
I noticed that your test failure was for scale 1, i.e. the smallest text size tested -- so I added 1 to the allowed variance (a fairly large % increase at this small size; text height at this scale is 6 pixels on my Linux box).
> I will create a special test task that just runs your 2 tests and submit it a large number of times and see if I can
get a better feel for it.
Sounds good, let me know what you find.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/20993#issuecomment-2397577856
More information about the client-libs-dev
mailing list