Skip to content
Permalink
Browse files
Consider 'print as raster' setting for pdf print in server
  • Loading branch information
mhugent authored and nyalldawson committed Jan 9, 2019
1 parent 41757c6 commit f1be811665a3766dfbe402ad74e76e28c4024eec
Showing with 3 additions and 0 deletions.
  1. +3 −0 src/server/services/wms/qgswmsrenderer.cpp
@@ -565,6 +565,9 @@ namespace QgsWms
}
// Draw selections
exportSettings.flags |= QgsLayoutRenderContext::FlagDrawSelection;
// Print as raster
exportSettings.rasterizeWholeImage = layout->customProperty( QStringLiteral( "rasterize" ), false ).toBool();

// Export all pages
QgsLayoutExporter exporter( layout.get() );
if ( atlas )

0 comments on commit f1be811

Please sign in to comment.