[gs-cvs] rev 8696 - branches/mtrender/src

ray at ghostscript.com ray at ghostscript.com
Sun May 4 10:38:31 PDT 2008


Author: ray
Date: 2008-05-04 10:38:30 -0700 (Sun, 04 May 2008)
New Revision: 8696

Modified:
   branches/mtrender/src/gsccolor.h
Log:
Revert GS_CLIENT_COLOR_MAX_COMPONENTS to 252 even though 6 is adequate
for most applications and provides improved performance (substantial for
some files). Put the default setting within #ifndef so that it can be
set using XCFLAGS without needing to change the source file.


Modified: branches/mtrender/src/gsccolor.h
===================================================================
--- branches/mtrender/src/gsccolor.h	2008-05-04 17:27:04 UTC (rev 8695)
+++ branches/mtrender/src/gsccolor.h	2008-05-04 17:38:30 UTC (rev 8696)
@@ -31,7 +31,9 @@
  * hexachrome DeviceN color spaces.  It is currently set to the same
  * value as Adobe CPSI can handle 
  */
-#define GS_CLIENT_COLOR_MAX_COMPONENTS (6)
+#ifndef GS_CLIENT_COLOR_MAX_COMPONENTS
+#define GS_CLIENT_COLOR_MAX_COMPONENTS (252)
+#endif
 
 /* Paint (non-Pattern) colors */
 typedef struct gs_paint_color_s {



More information about the gs-cvs mailing list