summaryrefslogtreecommitdiff
path: root/source/svg
diff options
context:
space:
mode:
authorRobin Watts <robin.watts@artifex.com>2016-07-18 11:44:41 +0100
committerRobin Watts <robin.watts@artifex.com>2016-07-18 12:51:49 +0100
commitde0346599c01866ef45e7e984232d1079352ef88 (patch)
tree80ce246b4df1845016b1b95683234a10492b8dcc /source/svg
parent537a467dfd6392d70624805943ac65182ec881b4 (diff)
downloadmupdf-de0346599c01866ef45e7e984232d1079352ef88.tar.xz
Bug 696927: Move debug printfs to fz_warn.
I did debate about removing these, but it looks like they are flagging up places where processing is incomplete, so I've left them in, and they will just appear on stderr now.
Diffstat (limited to 'source/svg')
-rw-r--r--source/svg/svg-run.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/svg/svg-run.c b/source/svg/svg-run.c
index 85f6d623..97f9a396 100644
--- a/source/svg/svg-run.c
+++ b/source/svg/svg-run.c
@@ -617,7 +617,7 @@ svg_parse_viewport(fz_context *ctx, svg_document *doc, fz_xml *node, svg_state *
if (h_att) h = svg_parse_length(h_att, state->viewbox_h, state->fontsize);
/* TODO: new transform */
- printf("push viewport: %g %g %g %g\n", x, y, w, h);
+ fz_warn(ctx, "push viewport: %g %g %g %g\n", x, y, w, h);
state->viewport_w = w;
state->viewport_h = h;
@@ -638,7 +638,7 @@ svg_parse_viewbox(fz_context *ctx, svg_document *doc, fz_xml *node, svg_state *s
sscanf(viewbox_att, "%g %g %g %g", &min_x, &min_y, &box_w, &box_h);
/* scale and translate to fit [x y w h] to [0 0 viewport.w viewport.h] */
- printf("push viewbox: %g %g %g %g\n", min_x, min_y, box_w, box_h);
+ fz_warn(ctx, "push viewbox: %g %g %g %g\n", min_x, min_y, box_w, box_h);
}
}