On Fri, 11 Sep 2026 11:12:46 GMT, Prasanta Sadhukhan <[email protected]> 
wrote:

>> Test used to fail on linux in CI in older releases but with upgrade in 
>> harfbuzz and linux, with current jdk, it is not failing now in several 
>> iterations in linux and other platforms (CI test job in JBS) so 
>> deproblemlisting 
>> 
>> 
>> 
>> 
>> ---------
>> - [x] I confirm that I make this contribution in accordance with the 
>> [OpenJDK Interim AI Policy](https://openjdk.org/legal/ai).
>
> Prasanta Sadhukhan has updated the pull request incrementally with one 
> additional commit since the last revision:
> 
>   Use Dialog font

I've looked at this test on macOS and I think that there's a product issue 
causing the failures there.
The actual angles of rotation are correct, and that is what the test was 
principally about but in order to test that it needs the  text to be identical.
When I use MONOSPACED the (0, 45) and (45, 0) cases are hugely different in 
length.
One has even spacing, the other it toggles between minimal space and normal 
space.
As a result the text comparison will fail. This passing with DIALOG is just 
"luck".
And the bounds - even using getPixelBounds() - is not long enough for some 
cases I tried.

So the test should be updated so that it passes - and is de-problemlisted - for 
Linux & Windows, but remain problem listed for macOS under a new bug id along 
with a test result which demonstrates the problem

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

PR Comment: https://git.openjdk.org/jdk/pull/32742#issuecomment-5819133207

Reply via email to