summaryrefslogtreecommitdiff
path: root/pdf/pdf_mark.c
diff options
context:
space:
mode:
authorKen Sharp <ken.sharp@artifex.com>2021-10-30 11:36:31 +0100
committerKen Sharp <ken.sharp@artifex.com>2021-10-30 11:36:31 +0100
commit9f68f20f94c252c99b497599e9320c52c0cc5d4c (patch)
treee77c95e0520cad201d10b92c3555673dc8f06938 /pdf/pdf_mark.c
parent4c5c33be932faaf6934f4a65068c69e43257c4ea (diff)
downloadghostpdl-9f68f20f94c252c99b497599e9320c52c0cc5d4c.tar.gz
GhostPDF - preserve marked content from input PDF files with pdfwrite
Implement the MP, DP, BMC BDC and EMC marked content operators. When the output device supports pdfmarks, pass these along. Note; this does not pass on optional content, we still don't support that.
Diffstat (limited to 'pdf/pdf_mark.c')
-rw-r--r--pdf/pdf_mark.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pdf/pdf_mark.c b/pdf/pdf_mark.c
index 4f678f104..efd6f131e 100644
--- a/pdf/pdf_mark.c
+++ b/pdf/pdf_mark.c
@@ -274,7 +274,7 @@ int pdfi_mark_from_dict(pdf_context *ctx, pdf_dict *dict, gs_matrix *ctm, const
/* Does a pdfmark, from a c-array of pdf_obj's
* This will put in a dummy ctm if none provided
*/
-static int pdfi_mark_from_objarray(pdf_context *ctx, pdf_obj **objarray, int len,
+int pdfi_mark_from_objarray(pdf_context *ctx, pdf_obj **objarray, int len,
gs_matrix *ctm, const char *type)
{
int code = 0;