[gs-commits] ghostpdl branch, pdfi, updated. jbig2dec-0.14-2204-g5ff6463
[email protected] (Nancy Durgin)
| Newsgroups | gmane.comp.printing.ghostscript.cvs |
|---|---|
| Message-ID | <[email protected]> |
The ghostpdl branch, pdfi has been updated
via 5ff646360d8410908ac24c578aebc7fec0647a87 (commit)
from 3f7cee638937ff9388643aa99ceb0123415d7b3c (commit)
----------------------------------------------------------------------
commit 5ff646360d8410908ac24c578aebc7fec0647a87
Author: Nancy Durgin <[email protected]>
Date: Tue Sep 10 09:45:59 2019 -0700
Enable OverPrint support for DeviceGray
mvrhel references comment in gs_set_overprint_ICC():
/* Possibly do CMYK based overprinting if profile is CMYK based or if we
are gray source based and doing gray to k mapping
(Ghent GWG 3.0 Gray Overprint Patch (030_Gray_K_black_OP_x1a.pdf)
*/
diff --git a/pdf/pdf_trans.c b/pdf/pdf_trans.c
index aaed952..b2a2b18 100644
--- a/pdf/pdf_trans.c
+++ b/pdf/pdf_trans.c
@@ -440,15 +440,14 @@ static bool pdfi_trans_okOPcs(pdf_context *ctx)
csi = pdfi_currentcolorspace(ctx, 0);
switch (csi) {
-#if 0 /* TODO? */
case gs_color_space_index_DeviceGray:
-#endif
case gs_color_space_index_DeviceCMYK:
case gs_color_space_index_DeviceN:
case gs_color_space_index_Separation:
/* These are colorspaces that don't require special handling for overprint.
* (pdf1.7 pg 259,578 may apply)
- * TODO: Unclear if DeviceGray should be included? Mvrhel says it shouldn't be (9-5-19)
+ * According to mvrhel, DeviceGray should also be included (see comment in gx_set_overprint_ICC()).
+ * Sample: 030_Gray_K_black_OP_x1a.pdf (??)
*/
dbgmprintf1(ctx->memory, "Colorspace is %d, OKAY for OVERPRINT\n", csi);
return true;
Summary of changes:
pdf/pdf_trans.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)