summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2012-02-06 16:10:07 +0100
committerTor Andersson <tor.andersson@artifex.com>2012-02-06 16:10:07 +0100
commit5cd45b68ad936006f3783abbcc064658d5e3508a (patch)
tree8abc09eada6f28b68194b13c269707d8ed6b4161 /scripts
parent499c0e9b6d7a7ea537b90b33af2b3d655102a597 (diff)
downloadmupdf-5cd45b68ad936006f3783abbcc064658d5e3508a.tar.xz
Pass context to cmap and font descriptor functions.
Diffstat (limited to 'scripts')
-rw-r--r--scripts/cmapdump.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/cmapdump.c b/scripts/cmapdump.c
index a41533f7..137e9abb 100644
--- a/scripts/cmapdump.c
+++ b/scripts/cmapdump.c
@@ -85,7 +85,7 @@ main(int argc, char **argv)
clean(name);
fi = fz_open_file(ctx, argv[i]);
- cmap = pdf_parse_cmap(fi);
+ cmap = pdf_load_cmap(ctx, fi);
fz_close(fi);
fprintf(fo, "\n/* %s */\n\n", cmap->cmap_name);