Re: [OpenJDK 2D-Dev] HiDPI support issues on Windows

2016-10-05 Thread Sergey Bylokhov
Looking to this bug I found something new for me. At least rounding of the image is non-intuitive. Usually our animation is a sequence of draw/drawImage+fillRect/clearRect. But in case of fractional scale we transform drawImage and fillRect differently, which can cause some artifacts, because d

Re: [OpenJDK 2D-Dev] [8u] RFR JDK-8162461: Hang due to JNI up-call made whilst holding JNI critical lock.

2016-10-05 Thread Philip Race
+1 -phil. On 9/29/16, 1:49 AM, Jayathirth D V wrote: Hi Phil, New changes are submitted in JDK9 under JDK-8166685. Please find updated webrev for review in JDK8u: http://cr.openjdk.java.net/~jdv/8162461.8u/webrev.01/ I have verifi

Re: [OpenJDK 2D-Dev] HiDPI support issues on Windows

2016-10-05 Thread Jim Graham
Hi Sergey, I'd be interested in the details of that analysis. Are you saying that drawImage can violate the clip? That would be a big problem if true. I looked at the clip validation code and did spot an issue. When the clip is a Rectangle2D or a transformed Rectangle (which produces an R2

[OpenJDK 2D-Dev] RFR: 8166034: [macosx] Non-AA Serif font always displays as regular - no bold or oblique.

2016-10-05 Thread Philip Race
https://bugs.openjdk.java.net/browse/JDK-8166034 Non-AA fonts aren't always being bolded on OS X. FWIW I believe this is in part a platform (OS) bug since it is terribly inconsistent across fonts and in some cases even sizes. So we need to look into why but it definitely isn't something that c