summaryrefslogtreecommitdiffstats
path: root/src/ui/dialog/print.cpp
diff options
context:
space:
mode:
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: