summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'pdf/pdf_fmap.h')
-rw-r--r--pdf/pdf_fmap.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/pdf/pdf_fmap.h b/pdf/pdf_fmap.h
index 602bb0cf..c7650203 100644
--- a/pdf/pdf_fmap.h
+++ b/pdf/pdf_fmap.h
@@ -17,4 +17,10 @@
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
+ */
+int
+pdf_fontmap_lookup_cidfont(pdf_context *ctx, pdf_dict *font_dict, pdf_name *name, pdf_obj **mapname, int *findex);