summaryrefslogtreecommitdiff
path: root/source/svg
diff options
context:
space:
mode:
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);
}
}