[gs-cvs] rev 8306 - trunk/gs/lib

alexcher at ghostscript.com alexcher at ghostscript.com
Sat Oct 20 09:34:38 PDT 2007


Author: alexcher
Date: 2007-10-20 09:34:38 -0700 (Sat, 20 Oct 2007)
New Revision: 8306

Modified:
   trunk/gs/lib/gs_icc.ps
Log:
Relax ICCBased color space validation. Don't reject correct PDF files that have
ICCBased color space as an alternative color space to another ICCBased color
space. Bug 689524, customer 870.

DIFFERENCES:
None.

Modified: trunk/gs/lib/gs_icc.ps
===================================================================
--- trunk/gs/lib/gs_icc.ps	2007-10-20 00:55:55 UTC (rev 8305)
+++ trunk/gs/lib/gs_icc.ps	2007-10-20 16:34:38 UTC (rev 8306)
@@ -123,9 +123,14 @@
         /Alternate .knownget
           {
             //.cs_validate exec
-            //.cs_potential_icc_alternate exec not
-              //setcspace_rangecheck
-            if
+            dup //.cs_potential_icc_alternate exec not
+              {
+                0 get /ICCBased ne
+                  //setcspace_rangecheck
+                if
+              }
+              { pop }
+            ifelse
           }
         if
       }



More information about the gs-cvs mailing list