diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2011-04-07 03:21:25 +0200 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2011-04-07 03:21:25 +0200 |
commit | 6294585ac2dfe73654a9ac5965517219e4ea7ede (patch) | |
tree | 82523e3b737cf4303679beb7fba586b7dc9db63b /pdf/pdf_xobject.c | |
parent | b3c8fbeb0dbb2c4b4ed767b7917ada9fa31b353a (diff) | |
download | mupdf-6294585ac2dfe73654a9ac5965517219e4ea7ede.tar.xz |
pdf: Purge unmaintained debug/log printing messages.
Diffstat (limited to 'pdf/pdf_xobject.c')
-rw-r--r-- | pdf/pdf_xobject.c | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/pdf/pdf_xobject.c b/pdf/pdf_xobject.c index 86360d3a..6228377f 100644 --- a/pdf/pdf_xobject.c +++ b/pdf/pdf_xobject.c @@ -20,29 +20,18 @@ pdf_load_xobject(pdf_xobject **formp, pdf_xref *xref, fz_obj *dict) form->contents = NULL; form->colorspace = NULL; - pdf_log_rsrc("load xobject (%d %d R) ptr=%p {\n", fz_to_num(dict), fz_to_gen(dict), form); - /* Store item immediately, to avoid possible recursion if objects refer back to this one */ pdf_store_item(xref->store, pdf_keep_xobject, pdf_drop_xobject, dict, form); obj = fz_dict_gets(dict, "BBox"); form->bbox = pdf_to_rect(obj); - pdf_log_rsrc("bbox [%g %g %g %g]\n", - form->bbox.x0, form->bbox.y0, - form->bbox.x1, form->bbox.y1); - obj = fz_dict_gets(dict, "Matrix"); if (obj) form->matrix = pdf_to_matrix(obj); else form->matrix = fz_identity; - pdf_log_rsrc("matrix [%g %g %g %g %g %g]\n", - form->matrix.a, form->matrix.b, - form->matrix.c, form->matrix.d, - form->matrix.e, form->matrix.f); - form->isolated = 0; form->knockout = 0; form->transparency = 0; @@ -65,14 +54,9 @@ pdf_load_xobject(pdf_xobject **formp, pdf_xref *xref, fz_obj *dict) error = pdf_load_colorspace(&form->colorspace, xref, obj); if (error) fz_catch(error, "cannot load xobject colorspace"); - pdf_log_rsrc("colorspace %s\n", form->colorspace->name); } } - pdf_log_rsrc("isolated %d\n", form->isolated); - pdf_log_rsrc("knockout %d\n", form->knockout); - pdf_log_rsrc("transparency %d\n", form->transparency); - form->resources = fz_dict_gets(dict, "Resources"); if (form->resources) fz_keep_obj(form->resources); @@ -85,9 +69,6 @@ pdf_load_xobject(pdf_xobject **formp, pdf_xref *xref, fz_obj *dict) return fz_rethrow(error, "cannot load xobject content stream (%d %d R)", fz_to_num(dict), fz_to_gen(dict)); } - pdf_log_rsrc("stream %d bytes\n", form->contents->len); - pdf_log_rsrc("}\n"); - *formp = form; return fz_okay; } |