From cbb1bb39872f7a02ec3c8d914a982f507776528f Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Wed, 24 Feb 2016 21:15:53 +0100 Subject: Rename pdf_add_simple_font_res and friends. --- include/mupdf/pdf/font.h | 4 ++-- include/mupdf/pdf/resource.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'include') 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 -- cgit v1.2.3