summaryrefslogtreecommitdiff
path: root/scripts/cmapdump.c
diff options
context:
space:
mode:
authorRobin Watts <robin.watts@artifex.com>2011-11-14 18:22:13 +0000
committerRobin Watts <robin.watts@artifex.com>2011-11-15 15:20:54 +0000
commit9c0a49060475b2dea1e4c2668bebd1d566113a7b (patch)
tree49e45a691cf105f4266d5c6b7242a4a3256c1200 /scripts/cmapdump.c
parent60c0544742931da63db623ad7a79ba3758704cc1 (diff)
parentfd6def85f22b598d4c278e76138ab7dccbb84c36 (diff)
downloadmupdf-9c0a49060475b2dea1e4c2668bebd1d566113a7b.tar.xz
Merge branch 'master' into context
Mostly redoing the xps_context to xps_document change and adding contexts to newly written code. Conflicts: apps/pdfapp.c apps/pdfapp.h apps/x11_main.c apps/xpsdraw.c draw/draw_device.c draw/draw_scale.c fitz/base_object.c fitz/fitz.h pdf/mupdf.h pdf/pdf_interpret.c pdf/pdf_outline.c pdf/pdf_page.c xps/muxps.h xps/xps_doc.c xps/xps_xml.c
Diffstat (limited to 'scripts/cmapdump.c')
-rw-r--r--scripts/cmapdump.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/cmapdump.c b/scripts/cmapdump.c
index 9827fff5..9f75a401 100644
--- a/scripts/cmapdump.c
+++ b/scripts/cmapdump.c
@@ -157,7 +157,8 @@ main(int argc, char **argv)
fprintf(fo, "};\n");
- printf("\t{\"%s\",&cmap_%s},\n", cmap->cmap_name, name);
+ if (getenv("verbose"))
+ printf("\t{\"%s\",&cmap_%s},\n", cmap->cmap_name, name);
fz_close(fi);
}