summaryrefslogtreecommitdiff
path: root/devices/gdevtsep.c
diff options
context:
space:
mode:
authorRay Johnston <ray.johnston@artifex.com>2021-01-07 17:24:44 -0800
committerRay Johnston <ray.johnston@artifex.com>2021-01-07 18:37:52 -0800
commit904c546962cb749fa8136130612e1c0a9cf558af (patch)
tree8a537539acaa5484f83e44b0533ccd78625c3cf2 /devices/gdevtsep.c
parent34ec1a4deb5275280184346ef877e6984da59da8 (diff)
downloadghostpdl-904c546962cb749fa8136130612e1c0a9cf558af.tar.gz
Add CMYK equivalent colorants for Separation Spot colors to tiffsep device.
This may be useful information -- adding the equivalent colors for the Spot color names.
Diffstat (limited to 'devices/gdevtsep.c')
-rw-r--r--devices/gdevtsep.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/devices/gdevtsep.c b/devices/gdevtsep.c
index 3dde35234..af0f9c99e 100644
--- a/devices/gdevtsep.c
+++ b/devices/gdevtsep.c
@@ -2240,7 +2240,13 @@ tiffsep_print_page(gx_device_printer * pdev, gp_file * file)
for (sep_num = 0; sep_num < num_spot; sep_num++) {
copy_separation_name(tfdev, name,
gp_file_name_sizeof - base_filename_length - SUFFIX_SIZE, sep_num, 0);
- dmlprintf1(pdev->memory, "%%%%SeparationName: %s\n", name);
+ dmlprintf1(pdev->memory, "%%%%SeparationName: %s", name);
+ dmlprintf4(pdev->memory, " CMYK = [ %d %d %d %d ]\n",
+ tfdev->equiv_cmyk_colors.color[sep_num].c,
+ tfdev->equiv_cmyk_colors.color[sep_num].m,
+ tfdev->equiv_cmyk_colors.color[sep_num].y,
+ tfdev->equiv_cmyk_colors.color[sep_num].k
+ );
}
}