diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2016-02-24 21:15:53 +0100 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2016-02-29 15:56:45 +0100 |
commit | cbb1bb39872f7a02ec3c8d914a982f507776528f (patch) | |
tree | a0b5e8350731074115e954e0deec7549d9047023 /include | |
parent | 333e8de0cbf45bb8b5758410c0dd89f0ec09ba84 (diff) | |
download | mupdf-cbb1bb39872f7a02ec3c8d914a982f507776528f.tar.xz |
Rename pdf_add_simple_font_res and friends.
Diffstat (limited to 'include')
-rw-r--r-- | include/mupdf/pdf/font.h | 4 | ||||
-rw-r--r-- | include/mupdf/pdf/resource.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/include/mupdf/pdf/font.h b/include/mupdf/pdf/font.h index 94db1727..343d6237 100644 --- a/include/mupdf/pdf/font.h +++ b/include/mupdf/pdf/font.h @@ -121,8 +121,8 @@ float pdf_text_stride(fz_context *ctx, pdf_font_desc *fontdesc, float fontsize, void pdf_run_glyph(fz_context *ctx, pdf_document *doc, pdf_obj *resources, fz_buffer *contents, fz_device *dev, const fz_matrix *ctm, void *gstate, int nestedDepth); -pdf_obj *pdf_add_simple_font_res(fz_context *ctx, pdf_document *doc, fz_font *font); -pdf_obj *pdf_add_cid_font_res(fz_context *ctx, pdf_document *doc, fz_font *font); +pdf_obj *pdf_add_simple_font(fz_context *ctx, pdf_document *doc, fz_font *font); +pdf_obj *pdf_add_cid_font(fz_context *ctx, pdf_document *doc, fz_font *font); int pdf_font_writing_supported(fz_font *font); diff --git a/include/mupdf/pdf/resource.h b/include/mupdf/pdf/resource.h index 41a8c27a..f8d6a2fa 100644 --- a/include/mupdf/pdf/resource.h +++ b/include/mupdf/pdf/resource.h @@ -56,7 +56,7 @@ int pdf_is_jpx_image(fz_context *ctx, pdf_obj *dict); fz_image *pdf_load_image(fz_context *ctx, pdf_document *doc, pdf_obj *obj); -pdf_obj* pdf_add_image_res(fz_context *ctx, pdf_document *doc, fz_image *image, int mask); +pdf_obj* pdf_add_image(fz_context *ctx, pdf_document *doc, fz_image *image, int mask); /* * Pattern |