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 /source/tools | |
parent | 333e8de0cbf45bb8b5758410c0dd89f0ec09ba84 (diff) | |
download | mupdf-cbb1bb39872f7a02ec3c8d914a982f507776528f.tar.xz |
Rename pdf_add_simple_font_res and friends.
Diffstat (limited to 'source/tools')
-rw-r--r-- | source/tools/pdfcreate.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/tools/pdfcreate.c b/source/tools/pdfcreate.c index bb9e9108..3f9e880c 100644 --- a/source/tools/pdfcreate.c +++ b/source/tools/pdfcreate.c @@ -38,7 +38,7 @@ static void add_font_res(pdf_obj *fonts, char *name, char *path) else font = fz_new_font_from_file(ctx, NULL, path, 0, 0); - res = pdf_add_simple_font_res(ctx, doc, font); + res = pdf_add_simple_font(ctx, doc, font); pdf_dict_puts(ctx, fonts, name, res); pdf_drop_obj(ctx, res); @@ -52,7 +52,7 @@ static void add_image_res(pdf_obj *images, char *name, char *path) image = fz_new_image_from_file(ctx, path); - res = pdf_add_image_res(ctx, doc, image, 0); + res = pdf_add_image(ctx, doc, image, 0); pdf_dict_puts(ctx, images, name, res); pdf_drop_obj(ctx, res); |