From: keescook Date: Sun, 30 Dec 2007 02:16:34 +0000 (+0000) Subject: don't zoom when changing dpi X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=65cc446aeb4962ea9e1b1c0c1ef95494f5d854cc;p=inkscape.git don't zoom when changing dpi --- diff --git a/src/ui/dialog/print.cpp b/src/ui/dialog/print.cpp index d1da36108..4528fe656 100644 --- a/src/ui/dialog/print.cpp +++ b/src/ui/dialog/print.cpp @@ -58,8 +58,8 @@ draw_page (GtkPrintOperation *operation, sp_export_png_file(junk->_doc, tmp_png.c_str(), 0.0, 0.0, width, height, - (unsigned long)(width * dpi / PX_PER_IN), - (unsigned long)(height * dpi / PX_PER_IN), + (unsigned long)(width * PT_PER_IN / PX_PER_IN), + (unsigned long)(height * PT_PER_IN / PX_PER_IN), dpi, dpi, bgcolor, NULL, NULL, true, NULL); // This doesn't seem to work: