Skip to content

Commit

Permalink
Fix PDF export size of elevation plots
Browse files Browse the repository at this point in the history
  • Loading branch information
agiudiceandrea authored Aug 19, 2024
1 parent 7f5a3fd commit 7823589
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/elevation/qgselevationprofilewidget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -769,7 +769,7 @@ void QgsElevationProfileWidget::exportAsPdf()
printer.setPageMargins( QMarginsF( 0, 0, 0, 0 ) );
printer.setFullPage( true );
printer.setColorMode( QPrinter::Color );
printer.setResolution( 300 );
printer.setResolution( 1200 );

QPainter p;
if ( !p.begin( &printer ) )
Expand Down

0 comments on commit 7823589

Please sign in to comment.