Re: [OpenJDK 2D-Dev] RFR: 8230672: Spec. for FontMetrics.getMaxAdvance is too prescriptive.

2020-04-24 Thread Philip Race
Updated webrev : http://cr.openjdk.java.net/~prr/8230672.1/ And CSR for review : https://bugs.openjdk.java.net/browse/JDK-8243566 -phil On 4/24/20, 3:00 AM, Sergey Bylokhov wrote: On 4/23/20 10:00 am, Philip Race wrote: I am not 100% sure what you are getting at, but maybe "render each such ch

Re: [OpenJDK 2D-Dev] RFR: 8166038 BufferedImage methods getTileGridXOffset() and getTileGridYOffset() return a non 0 value for sub images

2020-04-24 Thread Martin Desruisseaux
Hello Jayathirth Le 24/04/2020 à 14:32, Jayathirth D v a écrit : Then its better if we can include scenarios in test case(like using RenderedImage) to actually verify this behaviour(non-zero grid offsets) instead of just having BufferedImage. No problem, I can edit the patch. But by scenario

Re: [OpenJDK 2D-Dev] RFR: 8166038 BufferedImage methods getTileGridXOffset() and getTileGridYOffset() return a non 0 value for sub images

2020-04-24 Thread Jayathirth D v
Hi Martin, Then its better if we can include scenarios in test case(like using RenderedImage) to actually verify this behaviour(non-zero grid offsets) instead of just having BufferedImage. Thanks, Jay > On 17-Apr-2020, at 6:58 PM, Martin Desruisseaux > wrote: > > Hello Jay > > Le 17/04/20

Re: [OpenJDK 2D-Dev] RFR: 8230672: Spec. for FontMetrics.getMaxAdvance is too prescriptive.

2020-04-24 Thread Sergey Bylokhov
On 4/23/20 10:00 am, Philip Race wrote: I am not 100% sure what you are getting at, but maybe "render each such character" could be rephrased as "query the advance of each such character". But I would not point to charWidth() for this because it is not adequate for all code points. Does that cl

[OpenJDK 2D-Dev] Fonts with embedded bitmaps are not always rotated(this bug is NOT fixed in Java8 yet?)

2020-04-24 Thread Ayase177
Hi I found the bug "Fonts with embedded bitmaps are not always rotated" in Java8. It seems that this bug is fixed for Java11. (https://bugs.openjdk.java.net/browse/JDK-8204929) There was the issue on this bug in Java8. But it is closed as duplicated. (https://bugs.openjdk.java.net/browse/JDK-816