[gs-cvs] rev 8864 - trunk/gs/src
ray at ghostscript.com
ray at ghostscript.com
Tue Jul 22 11:32:35 PDT 2008
Author: ray
Date: 2008-07-22 11:32:34 -0700 (Tue, 22 Jul 2008)
New Revision: 8864
Modified:
trunk/gs/src/gsccolor.h
Log:
Change the default GS_CLIENT_COLOR_MAX_COMPONENTS to 8 (down from 252).
This improves the performance for files with many images. This limits
the number of DeviceN components and the number of separations that
can be generated in the default build and causes 'limitcheck' errors
on CET tests that attempt to set a 250 component DeviceN space.
THIS IS NOT BACKWARDS COMPATIBLE, but the change in ths single file
so this can readily be rebuilt by customers that need more components
or anyone that demands conformance to this implementation dependent
result on the CET. Note that not all Adobe implementations support
250 components as CPSI does.
Currently only the tiffsep and psdcmyk devices can generate more than
8 separations, and then only when USE_COMPRESSED_ENCODING is used to
fit more than 8 components in a 64-bit color value.
This partly reverts rev 7159.
EXPECTED DIFFERENCES:
The nightly regressions don't differ, but the cluster regressions will
show (one time) changes on several CET files. 09-03, 09-06, 09-31 and
09-34.
Modified: trunk/gs/src/gsccolor.h
===================================================================
--- trunk/gs/src/gsccolor.h 2008-07-22 14:23:25 UTC (rev 8863)
+++ trunk/gs/src/gsccolor.h 2008-07-22 18:32:34 UTC (rev 8864)
@@ -32,7 +32,7 @@
* value as Adobe CPSI can handle
*/
#ifndef GS_CLIENT_COLOR_MAX_COMPONENTS /* Allow override with XCFLAGS */
-# define GS_CLIENT_COLOR_MAX_COMPONENTS (252)
+# define GS_CLIENT_COLOR_MAX_COMPONENTS (8)
#endif
/* Paint (non-Pattern) colors */
More information about the gs-cvs
mailing list