[OpenJDK 2D-Dev] RFR: 8145584: java/awt/font/TextLayout/TestGetPixelBounds.java fails on Linux

Phil Race philip.race at oracle.com
Thu Dec 24 21:04:53 UTC 2015


Hi,

So the issue there is that this seems to uncover that the rotate case is
buggy for TextLayout. I do not know why but it is incorrect in 8ux not 
just 9
and by a clear margin. I think I would prefer to take my (derived) test
case that shows this and file a separate bug. It must be wholly unrelated to
the reason for the failure I am fixing here.

-phil.

On 12/24/2015 08:15 AM, Sergey Bylokhov wrote:
> Hi, Phil.
> I see that this test relies on some parameters(coords, text, rotate, 
> underline, graphic) of the main, and skips some checks by default. 
> Probably they should be covered by default as well via @run tag for 
> example?
>
> On 17/12/15 00:12, Phil Race wrote:
>> http://cr.openjdk.java.net/~prr/8145584/
>> https://bugs.openjdk.java.net/browse/JDK-8145584
>>
>> The bug is that the code that tries to measure where the bounds
>> of the rendering is not applying the same  rounding of the rendering
>> position as the rendering path does. It seems this test was just
>> waiting for the right circumstances to come along to expose the bug.
>>
>> The test that fails was closed but I have determined we are OK to 
>> open it.
>>
>> -phil.
>
>




More information about the 2d-dev mailing list