[OpenJDK 2D-Dev] RFR: 8158408: Font2DTest demo needs to use FontPanel resolution matching the screen
Sergey Bylokhov
Sergey.Bylokhov at oracle.com
Thu Jun 2 09:37:52 UTC 2016
On 01.06.16 21:44, Phil Race wrote:
> On 06/01/2016 11:05 AM, Semyon Sadetsky wrote:
>> you call super.paintComponent(g); twice in lines 956 and 964. Is it
>> expected behavior?
Why the writePNG() produce the low resolution image? probably it should
take into account the GC scale?
>
> Yes, if "CannotDrawException" is caught we want to repaint using super
> else, we will
> may have a partially panel.
>
> -phil.
>
>>
>> --Semyon
>>
>>
>> On 6/1/2016 7:58 PM, Philip Race wrote:
>>> Bug: https://bugs.openjdk.java.net/browse/JDK-8158408
>>> Webrev: http://cr.openjdk.java.net/~prr/8158408/
>>>
>>> At 125% scaling on JDK 9 Font2DTest looks horrid since its
>>> BufferedImage is scaled to the screen.
>>> Fix is to not use a BufferedImage, just use the Swing back buffer.
>>>
>>> -phil.
>>
>
--
Best regards, Sergey.
More information about the 2d-dev
mailing list