diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2018-06-13 11:48:07 +0200 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2018-06-22 16:23:34 +0200 |
commit | 7d2407571d8c8851b67af5ddd0429467c7048b16 (patch) | |
tree | c7c128a56f3a6768b783c1b805c122b26f54ba07 /include/mupdf/pdf | |
parent | 61f58980aa353dda3bdb9b563b87cd0e8741d0f0 (diff) | |
download | mupdf-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.h | 2 |
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); |