summaryrefslogtreecommitdiff
path: root/test/any2ppm.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/any2ppm.c')
-rw-r--r--test/any2ppm.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/test/any2ppm.c b/test/any2ppm.c
index a92412d08..c3c1fd006 100644
--- a/test/any2ppm.c
+++ b/test/any2ppm.c
@@ -436,6 +436,7 @@ _rsvg_render_page (const char *filename,
if (handle == NULL)
return error->message; /* XXX g_error_free */
+ rsvg_handle_set_dpi (handle, 72.0);
rsvg_handle_get_dimensions (handle, &dimensions);
surface = cairo_image_surface_create (CAIRO_FORMAT_ARGB32,
dimensions.width,
@@ -873,10 +874,6 @@ main (int argc, char **argv)
#endif
#endif
-#if CAIRO_CAN_TEST_SVG_SURFACE
- rsvg_set_default_dpi (72.0);
-#endif
-
#if defined(_WIN32) && !defined (__CYGWIN__)
_setmode (1, _O_BINARY);
#endif