[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openjdk-2d-dev
Subject:    Re: [OpenJDK 2D-Dev] RFR: 8145584: java/awt/font/TextLayout/TestGetPixelBounds.java fails on Linux
From:       Sergey Bylokhov <Sergey.Bylokhov () oracle ! com>
Date:       2015-12-25 14:42:31
Message-ID: 567D55D7.3080704 () oracle ! com
[Download RAW message or body]

On 25/12/15 00:04, Phil Race wrote:
> 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.

This fix looks fine then, note that this test checks other things 
optionally, probably in the fix for a new bug these checks can be 
enabled also.

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.
>>
>>
>


-- 
Best regards, Sergey.
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic