diff options
author | Michael Vrhel <michael.vrhel@artifex.com> | 2011-05-15 15:50:40 -0700 |
---|---|---|
committer | Michael Vrhel <michael.vrhel@artifex.com> | 2011-05-15 16:07:52 -0700 |
commit | 1787ce3393956701e6241b8efc6f575887c3f5c1 (patch) | |
tree | 70e10639881e5cc1ab1a696b14c569deaf07875b /svg | |
parent | c622f66846aa6b8124b1dffed7dbdaedabedd93f (diff) |
Change in device ICC profile handling
This is the major portion of the code needed to achieve object dependent
color management. This fixes the problems that existed in the
previous code with the device parameters and introduces an array of
ICC profiles in the device structure. The code was cluster pushed and
showed some very minor differences in a couple files but they appear to be
OK with bmpcmp. I still need to do further testing to verify that all the
functionality is correct (e.g. make sure setting the text profile properly
affects the text only). In addition, the rendering intent options need to be
implemented.
I also need to check that nothing was broken with respect to MT
rendering and some of the devices that are not tested with cluster
pushing (e.g. the display device and the x11alpha device).
Diffstat (limited to 'svg')
-rw-r--r-- | svg/svgtop.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/svg/svgtop.c b/svg/svgtop.c index ac11a4af0..29e185b93 100644 --- a/svg/svgtop.c +++ b/svg/svgtop.c @@ -184,7 +184,7 @@ svg_imp_set_device(pl_interp_instance_t *pinstance, gx_device *pdevice) gs_opendevice(pdevice); - code = gsicc_init_device_profile(ctx->pgs, pdevice); + code = gsicc_init_device_profile_struct(pdevice, NULL, 0); if (code < 0) return code; |