summaryrefslogtreecommitdiff
path: root/pdf/pdf_fmap.h
diff options
context:
space:
mode:
authorChris Liddell <chris.liddell@artifex.com>2021-11-04 14:33:01 +0000
committerChris Liddell <chris.liddell@artifex.com>2021-11-09 11:12:04 +0000
commitcb4156b9545f131698026106b289a5253f295e23 (patch)
tree6fdaa396b485780a94097453346e10f16e9d04ab /pdf/pdf_fmap.h
parent0a1d08d91a95746f41e8c1d578a4e4af81ee5949 (diff)
downloadghostpdl-cb4156b9545f131698026106b289a5253f295e23.tar.gz
Support user specified Fontmap files in pdfi
Handle -sFONTMAP param in gpdl, and copy the relevant strings from the Postscript world when pdfi is called from Ghostscript. To make things a little simpler, there is also a tweak to the Postscript code, so the FONTMAP parameter gets split into an array of strings during initialisation, rather than at use time, which saves doing that process once for Postscript and once for pdfi.
Diffstat (limited to 'pdf/pdf_fmap.h')
-rw-r--r--pdf/pdf_fmap.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/pdf/pdf_fmap.h b/pdf/pdf_fmap.h
index 73ae6aee6..c76502039 100644
--- a/pdf/pdf_fmap.h
+++ b/pdf/pdf_fmap.h
@@ -17,7 +17,7 @@
or might be a string.
*/
int
-pdf_fontmap_lookup_font(pdf_context *ctx, pdf_name *fname, pdf_obj **mapname);
+pdf_fontmap_lookup_font(pdf_context *ctx, pdf_name *fname, pdf_obj **mapname, int *findex);
/* The name parameter is to allow for internally derived font names to be looked up,
like, for example, /Adobe-Japan1