[gs-cvs] rev 7872 - trunk/gs/src

leonardo at ghostscript.com leonardo at ghostscript.com
Sun Apr 22 23:42:08 PDT 2007


Author: leonardo
Date: 2007-04-22 23:42:08 -0700 (Sun, 22 Apr 2007)
New Revision: 7872

Modified:
   trunk/gs/src/gdevpbm.c
Log:
Fix (p*mraw devices) : Removing an incorrect debug printing (continued).

DETAILS : 

Revision 7869 fails with any PDF file.
Fixing it now.
See comment in code.

EXPECTED DIFFERENCES :

None.


Modified: trunk/gs/src/gdevpbm.c
===================================================================
--- trunk/gs/src/gdevpbm.c	2007-04-22 22:00:22 UTC (rev 7871)
+++ trunk/gs/src/gdevpbm.c	2007-04-23 06:42:08 UTC (rev 7872)
@@ -447,8 +447,15 @@
     int ecode = 0;
     int code;
     long v;
+    gs_param_string_array intent;
     const char *vname;
 
+    if ((code = param_read_string_array(plist, "OutputIntent", &intent)) == 0) {
+	/* Silewntly ingore this parameter. 
+	   We need it against 'rangecheck',
+	   because PDF interpreter always sends this parameter.
+	 */
+    }
     save_info = pdev->color_info;
     if ((code = param_read_long(plist, (vname = "GrayValues"), &v)) != 1 ||
 	(code = param_read_long(plist, (vname = "RedValues"), &v)) != 1 ||



More information about the gs-cvs mailing list