summaryrefslogtreecommitdiffstats
path: root/src/ui/dialog/print.cpp
diff options
context:
space:
mode:
authorKees Cook <kees@outflux.net>2007-12-30 02:16:34 +0000
committerkeescook <keescook@users.sourceforge.net>2007-12-30 02:16:34 +0000
commit80c4c0537ffb11a997f465873c2aaeb68bcae90a (patch)
tree0dd44abb30fcf9c456b088953f9afe37d350a399 /src/ui/dialog/print.cpp
parentbeautify rendering options tab (diff)
downloadinkscape-80c4c0537ffb11a997f465873c2aaeb68bcae90a.tar.gz
inkscape-80c4c0537ffb11a997f465873c2aaeb68bcae90a.zip
don't zoom when changing dpi
(bzr r4338)
Diffstat (limited to 'src/ui/dialog/print.cpp')
-rw-r--r--src/ui/dialog/print.cpp4
1 files changed, 2 insertions, 2 deletions
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: