We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
qgis
Learn more about funding links in repositories.
Report abuse
There was an error while loading. Please reload this page.
1 parent f984242 commit cc7e960Copy full SHA for cc7e960
src/app/qgisapp.cpp
@@ -5881,6 +5881,12 @@ void QgisApp::saveMapAsPdf()
5881
if ( !fileName.isEmpty() )
5882
{
5883
QgsMapSettings ms = QgsMapSettings();
5884
+
5885
+ ms.setFlag( QgsMapSettings::ForceVectorOutput, true ); // force vector output (no caching of marker images etc.)
5886
+ ms.setFlag( QgsMapSettings::Antialiasing, true );
5887
+ ms.setFlag( QgsMapSettings::DrawEditingInfo, false );
5888
+ ms.setFlag( QgsMapSettings::DrawSelection, false );
5889
5890
ms.setDestinationCrs( QgsProject::instance()->crs() );
5891
ms.setExtent( dlg.extent() );
5892
ms.setOutputSize( dlg.size() );
0 commit comments