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

Semyon Sadetsky semyon.sadetsky at oracle.com
Wed Jun 1 18:05:37 UTC 2016


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 since its
> BufferedImage is scaled to the screen.
> Fix is to not use a BufferedImage, just use the Swing back buffer.
>
> -phil.




More information about the 2d-dev mailing list