We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0ccaba7 commit 33b6fabCopy full SHA for 33b6fab
src/app/qgisapp.cpp
@@ -5899,10 +5899,14 @@ void QgisApp::saveMapAsPdf()
5899
5900
return;
5901
}
5902
+
5903
+ image->setDotsPerMeterX( 1000 * dlg.dpi() / 25.4 );
5904
+ image->setDotsPerMeterY( 1000 * dlg.dpi() / 25.4 );
5905
p->begin( image );
5906
5907
else
5908
{
5909
+ printer->setResolution( dlg.dpi() );
5910
p->begin( printer );
5911
5912
0 commit comments