summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorKen Sharp <ken.sharp@artifex.com>2021-10-11 15:44:54 +0100
committerKen Sharp <ken.sharp@artifex.com>2021-10-11 15:46:40 +0100
commita9fa064fffd027ce8f7c244d86a0a27dcf85f961 (patch)
treecf235ca6e14275ca2203ba62f8ab5238ac99a055 /doc
parent350acb64892ddae3167c88e448d9a690fd38ac1e (diff)
downloadghostpdl-a9fa064fffd027ce8f7c244d86a0a27dcf85f961.tar.gz
tiffsep - add sep number to filename if sep name matches a process ink
Bug #698881 "Problem with spot color with same name of master color (CMJK) " In this case the separation is named "YELLOW" which is not the same as "Yellow" as far as PostScript is concerned because ink names are case- sensitive. However, when added to the output filename, not all OS's (in particular Windows) differentiate filenames based on case, leading to the file being overwritten. This commit checks the separation name to see if it matches any of the process inks (ignoring case) and if it does, it appends the separation number to the ink name for the purpose of creating the filename.
Diffstat (limited to 'doc')
-rw-r--r--doc/Devices.htm4
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/Devices.htm b/doc/Devices.htm
index 0020358aa..fc9a4dd52 100644
--- a/doc/Devices.htm
+++ b/doc/Devices.htm
@@ -459,6 +459,10 @@ File names for the separations for the CMYK colorants are created by appending
end of the file name specified via the OutputFile parameter.
File names for the spot color separation files are created by appending the
Spot color name in '(' and ').tif' to the filename.</p>
+<p>Note that, while the name of the ink is case-sensitive, the filename may not be
+(depending on the Operating System), so if a spot name matches one of the process
+ink names, it will have the spot number included as part of the name (eg YELLOW0).
+</p>
<p>
If desired the file names for the spot color separation files can be created