Re: [OpenJDK 2D-Dev] [10] RFR JDK-8186987:NullPointerException in RasterPrinterJob without PrinterResolution

2017-09-18 Thread Phil Race
Hi, On 09/04/2017 03:07 AM, Prasanta Sadhukhan wrote: Hi Prahalad, Phil, JDK uses DocumentProperties function [1] to query the printer configuration data in windows. For a RIcoh printer which we (in IDC) use by default, pDevMode->dmFields is initialized to 0x200ff0f, which corresponds to D

Re: [OpenJDK 2D-Dev] ImageIO.read(jpeg): different RGB from OpenJDK and Oracle Java

2017-09-18 Thread Bill Ross
Re the app: the color mapping option is reached by Phob->Search Mode; the yellow '+' button selects from ~10 color-matching algorithms to match the next pair of pics. Alg used is shown if you hold down mouse in area next to the options. ~7 of the color-match options are histogram-based. Other h

Re: [OpenJDK 2D-Dev] ImageIO.read(jpeg): different RGB from OpenJDK and Oracle Java

2017-09-18 Thread Bill Ross
This is for prep of in-house data, so won't be shipped, so I can choose on the basis of quality, if there is a diff. Here's the app:   http://phobrain.com/pr/home/view.html Bill On 9/18/17 1:09 PM, Phil Race wrote: There is no choice for a developer, at least in this scenario, the one that c

Re: [OpenJDK 2D-Dev] ImageIO.read(jpeg): different RGB from OpenJDK and Oracle Java

2017-09-18 Thread Phil Race
There is no choice for a developer, at least in this scenario, the one that comes with that JDK is the one that will be used. If you mean the choice by the JDK as to which one to ship, then one is compatible with the open source license .. the other is not. -phil. On 9/18/2017 12:58 PM, Bill Ros

Re: [OpenJDK 2D-Dev] ImageIO.read(jpeg): different RGB from OpenJDK and Oracle Java

2017-09-18 Thread Bill Ross
PS - sRGB.pf's being compared here are on Ubuntu, which has 1.8.0.0_144 Oracle on it. Bill On 9/18/17 12:58 PM, Bill Ross wrote: Thanks! > I expect the sRGB.pf one is the one that matters. Definitely a difference in that file (sizes): 6876  /usr/lib/jvm/java-8-openjdk-amd64/jre/lib/cmm/sRGB

Re: [OpenJDK 2D-Dev] ImageIO.read(jpeg): different RGB from OpenJDK and Oracle Java

2017-09-18 Thread Bill Ross
Thanks! > I expect the sRGB.pf one is the one that matters. Definitely a difference in that file (sizes): 6876  /usr/lib/jvm/java-8-openjdk-amd64/jre/lib/cmm/sRGB.pf 3144  /usr/lib/jvm/java-8-oracle/jre/lib/cmm/sRGB.pf Swapping cmm dirs leads to identical results. Is there any rationale docum

Re: [OpenJDK 2D-Dev] [10] Review Request 8187367: Numerous swing display problems with scaled displays on Windows

2017-09-18 Thread Sergey Bylokhov
Hi, Semyon. Is it possible to write a test case for this issue? It will be helpful to understand the bug and a fix. On 9/18/17 09:36, Semyon Sadetsky wrote: Hello, Please review fix for JDK10 (in Swing and Java2D): bug: https://bugs.openjdk.java.net/browse/JDK-8187367 webrev: http://cr.open

Re: [OpenJDK 2D-Dev] ImageIO.read(jpeg): different RGB from OpenJDK and Oracle Java

2017-09-18 Thread Brian Burkhalter
On Sep 18, 2017, at 9:15 AM, Phil Race wrote: > FWIW I think the difference that matters is that OpenJDK has different colour > profile files, > so even though they are processed by the same code the results may be > different. > >>> On 9/17/17 2:55 PM, Bill Ross wrote: ou

[OpenJDK 2D-Dev] [10] Review Request 8187367: Numerous swing display problems with scaled displays on Windows

2017-09-18 Thread Semyon Sadetsky
Hello, Please review fix for JDK10 (in Swing and Java2D): bug: https://bugs.openjdk.java.net/browse/JDK-8187367 webrev: http://cr.openjdk.java.net/~ssadetsky/8187367/webrev.00/ Swing apps may have artifacts on HiDPI screens with fractional scales. There are several issues which may cause var

Re: [OpenJDK 2D-Dev] ImageIO.read(jpeg): different RGB from OpenJDK and Oracle Java

2017-09-18 Thread Phil Race
Hi, is there a question here ? > If this is the only diff Is that referring to 8u60 vs 8u131 ? FWIW I think the difference that matters is that OpenJDK has different colour profile files, so even though they are processed by the same code the results may be different. I expect the sRGB.pf