summaryrefslogtreecommitdiff
path: root/devices/vector/gdevpdfm.c
diff options
context:
space:
mode:
authorAlexander Grahn <a.grahn@fzd.de>2019-04-18 14:24:04 +0100
committerKen Sharp <ken.sharp@artifex.com>2019-04-18 14:24:04 +0100
commita3be0c9d86981313d8724f6c29f2feaa07152976 (patch)
tree42678eadd47b187b96f998d7930f731470da9ec7 /devices/vector/gdevpdfm.c
parenta7cccaac16e6fc252496ab630f7423262e05756d (diff)
downloadghostpdl-a3be0c9d86981313d8724f6c29f2feaa07152976.tar.gz
Bug #700984 "BMC pdfmark: BMC keyword missing from content stream (patch included)"
Not sure how this has gone unnoticed for so long. The 'BMC' keyword was missing from the emission of the content of the pdfmark. The EMC and BDC pdfmarks seem to be OK. Thanks to Alexander Grahn for identifying the problem and supplying a patch to resolve it.
Diffstat (limited to 'devices/vector/gdevpdfm.c')
-rw-r--r--devices/vector/gdevpdfm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/devices/vector/gdevpdfm.c b/devices/vector/gdevpdfm.c
index 56977de2a..345b97ec0 100644
--- a/devices/vector/gdevpdfm.c
+++ b/devices/vector/gdevpdfm.c
@@ -2508,7 +2508,7 @@ pdfmark_BMC(gx_device_pdf *pdev, gs_param_string *pairs, uint count,
code = pdf_open_contents(pdev, PDF_IN_STREAM);
if (code < 0) return code;
- pprints1(pdev->strm, "%s", tag);
+ pprints1(pdev->strm, "%s BMC\n", tag);
gs_free_object(pdev->memory, tag, "pdfmark_BMC");
return 0;