summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--printer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/printer.cpp b/printer.cpp
index 44f0739bc..50027c23b 100644
--- a/printer.cpp
+++ b/printer.cpp
@@ -36,7 +36,7 @@ void Printer::render()
// apply printing settings to profile
profile->setFrameStyle(QFrame::NoFrame);
profile->setPrintMode(true, !printOptions->color_selected);
- profile->setFontPrintScale(0.6);
+ profile->setFontPrintScale(printer->pageLayout().paintRect(QPageLayout::Inch).width() * dpi * 0.001);
profile->setToolTipVisibile(false);
prefs.animation_speed = 0;