Re: [OpenJDK 2D-Dev] RFR: 8158408: Font2DTest demo needs to use FontPanel resolution matching the screen

2016-06-02 Thread Sergey Bylokhov
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

Re: [OpenJDK 2D-Dev] RFR: 8158408: Font2DTest demo needs to use FontPanel resolution matching the screen

2016-06-01 Thread Semyon Sadetsky
Looks good to me. --Semyon On 6/1/2016 9:44 PM, 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? Yes, if "CannotDrawException" is caught we want to repaint using super else, we will may

Re: [OpenJDK 2D-Dev] RFR: 8158408: Font2DTest demo needs to use FontPanel resolution matching the screen

2016-06-01 Thread Phil Race
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? 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,

Re: [OpenJDK 2D-Dev] RFR: 8158408: Font2DTest demo needs to use FontPanel resolution matching the screen

2016-06-01 Thread Semyon Sadetsky
you call super.paintComponent(g); twice in lines 956 and 964. Is it expected behavior? --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