diff options
author | Igor Melichev <igor.melichev@artifex.com> | 2003-05-08 04:23:26 +0000 |
---|---|---|
committer | Igor Melichev <igor.melichev@artifex.com> | 2003-05-08 04:23:26 +0000 |
commit | b0579d246947dd1bad4942b39a70a4990c3189ae (patch) | |
tree | 52a40013d197b54f44895614f040b525a3a6892c /gs/src/gdevpdti.c | |
parent | 70184a94b705fad6dff6297c614daf00fc06dd8e (diff) |
pdfwrite : Don't write colors to charproc.
DETAILS :
Bug 686856 "PDF interpreter : /undefined in --setgray--".
Rather Acrobat Reader ingonre colors in charprocs,
we should not write them, because it is not conforming.
Expecting differences with pdfwrite with the tests :
adesso8.pdf
grayalph.ps
git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@3895 a1074d23-0009-0410-80fe-cf8c14f379e6
Diffstat (limited to 'gs/src/gdevpdti.c')
-rw-r--r-- | gs/src/gdevpdti.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gs/src/gdevpdti.c b/gs/src/gdevpdti.c index ad575ba55..71895a3fe 100644 --- a/gs/src/gdevpdti.c +++ b/gs/src/gdevpdti.c @@ -423,6 +423,7 @@ pdf_install_charproc_accum(gx_device_pdf *pdev, gs_font *font, const double *pw, pdfont->u.simple.s.type3.char_procs = pcp; pcp->char_code = ch; pcp->char_name = *gnstr; + pdev->skip_colors = true; if (control == TEXT_SET_CHAR_WIDTH) pprintg2(pdev->strm, "%g %g d0\n", (float)pw[0], (float)pw[1]); else |