summaryrefslogtreecommitdiff
path: root/include/mupdf/pdf
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2018-06-13 11:48:07 +0200
committerTor Andersson <tor.andersson@artifex.com>2018-06-22 16:23:34 +0200
commit7d2407571d8c8851b67af5ddd0429467c7048b16 (patch)
treec7c128a56f3a6768b783c1b805c122b26f54ba07 /include/mupdf/pdf
parent61f58980aa353dda3bdb9b563b87cd0e8741d0f0 (diff)
downloadmupdf-7d2407571d8c8851b67af5ddd0429467c7048b16.tar.xz
Remember the md5 digest in the fz_font struct.
Diffstat (limited to 'include/mupdf/pdf')
-rw-r--r--include/mupdf/pdf/resource.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/mupdf/pdf/resource.h b/include/mupdf/pdf/resource.h
index 2febc8b7..b6a2a4b5 100644
--- a/include/mupdf/pdf/resource.h
+++ b/include/mupdf/pdf/resource.h
@@ -20,7 +20,7 @@ void pdf_empty_store(fz_context *ctx, pdf_document *doc);
enum { PDF_SIMPLE_FONT_RESOURCE=1, PDF_CID_FONT_RESOURCE=2, PDF_CJK_FONT_RESOURCE=3 };
enum { PDF_SIMPLE_ENCODING_LATIN, PDF_SIMPLE_ENCODING_GREEK, PDF_SIMPLE_ENCODING_CYRILLIC };
-pdf_obj *pdf_find_font_resource(fz_context *ctx, pdf_document *doc, int type, int encoding, fz_buffer *item, unsigned char md5[16]);
+pdf_obj *pdf_find_font_resource(fz_context *ctx, pdf_document *doc, int type, int encoding, fz_font *item, unsigned char md5[16]);
pdf_obj *pdf_insert_font_resource(fz_context *ctx, pdf_document *doc, unsigned char md5[16], pdf_obj *obj);
pdf_obj *pdf_find_image_resource(fz_context *ctx, pdf_document *doc, fz_image *item, unsigned char md5[16]);
pdf_obj *pdf_insert_image_resource(fz_context *ctx, pdf_document *doc, unsigned char md5[16], pdf_obj *obj);