diff options
author | Igor Melichev <igor.melichev@artifex.com> | 2005-01-25 22:22:28 +0000 |
---|---|---|
committer | Igor Melichev <igor.melichev@artifex.com> | 2005-01-25 22:22:28 +0000 |
commit | 45f863cda21f6e9bfd2f4e822230e8ff8d8f0f81 (patch) | |
tree | 1ae7fd79dba43d8d2f6e6debf2789706301e021c /gs/src/gdevpdtb.c | |
parent | 17fdbb1ff36054916b1c0322ea9d88dbf4bd6cb2 (diff) |
(pdfwrite) : Don't skip white color while painting a pattern (continued 2).
DETAILS :
This change is important for ps2write only.
It is algorithmically equivalent for other invocations.
1. The patch http://ghostscript.com/pipermail/gs-cvs/2005-January/005163.html
broke the OrderResources mode. Fixed in gdevpdfu.c .
This is another fix to that.
2. Removed the hack about writing non-eexec fonts
because PDF specification doesn't allow it.
Rather ps2write can handle them, we use a PDF viewer
to debug the writer.
EXPECTED DIFFERENCES :
None.
git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@5654 a1074d23-0009-0410-80fe-cf8c14f379e6
Diffstat (limited to 'gs/src/gdevpdtb.c')
-rw-r--r-- | gs/src/gdevpdtb.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gs/src/gdevpdtb.c b/gs/src/gdevpdtb.c index 4ca8f7453..8d27c4d3c 100644 --- a/gs/src/gdevpdtb.c +++ b/gs/src/gdevpdtb.c @@ -611,8 +611,7 @@ pdf_write_embedded_font(gx_device_pdf *pdev, pdf_base_font_t *pbfont, code = psf_write_type1_font(writer.binary.strm, (gs_font_type1 *)out_font, WRITE_TYPE1_WITH_LENIV | - ( pdev->OrderResources/* a temporary debug purpose hack. */ - ? 0 : WRITE_TYPE1_EEXEC | WRITE_TYPE1_EEXEC_PAD), + WRITE_TYPE1_EEXEC | WRITE_TYPE1_EEXEC_PAD, NULL, 0, &fnstr, lengths); if (lengths[0] > 0) { if (code < 0) |