diff options
author | Ralph Giles <ralph.giles@artifex.com> | 2009-07-23 20:27:15 +0000 |
---|---|---|
committer | Ralph Giles <ralph.giles@artifex.com> | 2009-07-23 20:27:15 +0000 |
commit | c4bedd510f1f8e3818cbfb79cc8a85f2e38dae97 (patch) | |
tree | 73f27fcda9cf2337417399038a0cb82b3e2ba0de /main | |
parent | f1452db3cb368520e9e8b8dd5536fe22bbc17976 (diff) |
Change the msvc xps build to use a 32 bit color index like the gcc
build.
The gcc xps build inherits the color index setting from the pcl
makefile, which currently sets it to 'unsigned long' or 32 bits.
The msvc pcl makefile didn't set it at all, relying on the gs
default, which is also 32 bits. The msvc xps makefile was
overriding that with 'unsigned long long' or 64 bits.
Instead, this commit makes the msvc xps makefile inherit from
the pcl makefile, which now explicitly sets 32 bits. So the
only material change should be that the msvc xps build now
matches the gcc xps build.
XPS allows up to 8 colour components, defined by an ICC profile,
so 64 bits is more correct. We don't currently support that,
pending the completion of the icc_work branch. When support
for multichannel profiles is added the default will need to
be changed for both builds.
git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@9885 a1074d23-0009-0410-80fe-cf8c14f379e6
Diffstat (limited to 'main')
-rw-r--r-- | main/pcl6_msvc.mak | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/main/pcl6_msvc.mak b/main/pcl6_msvc.mak index 383f4d0e3..c48923470 100644 --- a/main/pcl6_msvc.mak +++ b/main/pcl6_msvc.mak @@ -271,6 +271,13 @@ PCLXL_ROMFS_ARGS= -P ../urwfonts -d ttfonts / !endif # end PL_SCALER == afs +# a 64 bit type is needed for devicen color space/model support but +# carries a performance burden. Change unsigned long to unsigned long +# long to enable large color indices. +!ifndef GX_COLOR_INDEX_DEFINE +GX_COLOR_INDEX_DEFINE=-DGX_COLOR_INDEX_TYPE="unsigned long" +!endif + !ifdef XPS_INCLUDED EXTRALIBS=$(EXPATLIB) !endif |