summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Vrhel <michael.vrhel@artifex.com>2015-03-06 11:19:07 -0800
committerMichael Vrhel <michael.vrhel@artifex.com>2015-03-06 11:19:07 -0800
commitc75e5c690c6f9c1da2e9225d4986967d1d391c8b (patch)
treec7e7fffdd66eb44199017e2cb5227232bec08df1
parent12ddbaa69c38fa0178ff60a012ff358987b6238d (diff)
downloadghostpdl-c75e5c690c6f9c1da2e9225d4986967d1d391c8b.tar.gz
Fix for bug 695791. Wrong ICC profile written when source was CIELAB colorspace.
-rw-r--r--gs/devices/vector/gdevxps.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gs/devices/vector/gdevxps.c b/gs/devices/vector/gdevxps.c
index d5e985e98..5d9085f4d 100644
--- a/gs/devices/vector/gdevxps.c
+++ b/gs/devices/vector/gdevxps.c
@@ -1875,6 +1875,7 @@ xps_begin_image(gx_device *dev, const gs_imager_state *pis,
rendering_params.cmm = gsCMM_DEFAULT;
pie->icc_link = gsicc_get_link_profile(pis, dev, icc_profile,
pis->icc_manager->default_rgb, &rendering_params, pis->memory, false);
+ icc_profile = pis->icc_manager->default_rgb;
} else {
pie->icc_link = NULL;
}