Skip to content

Commit 9648bc7

Browse files
committedJul 21, 2014
Fix #10909 (SVG markers rendered as images in composer)
1 parent 5cb356a commit 9648bc7

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed
 

‎src/core/symbology-ng/qgsmarkersymbollayerv2.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1194,7 +1194,6 @@ void QgsSvgMarkerSymbolLayerV2::renderPoint( const QPointF& point, QgsSymbolV2Re
11941194
p->translate( point + outputOffset );
11951195

11961196
bool rotated = !qgsDoubleNear( angle, 0 );
1197-
bool drawOnScreen = qgsDoubleNear( context.renderContext().rasterScaleFactor(), 1.0, 0.1 );
11981197
if ( rotated )
11991198
p->rotate( angle );
12001199

@@ -1230,7 +1229,7 @@ void QgsSvgMarkerSymbolLayerV2::renderPoint( const QPointF& point, QgsSymbolV2Re
12301229
bool fitsInCache = true;
12311230
bool usePict = true;
12321231
double hwRatio = 1.0;
1233-
if ( drawOnScreen && !rotated )
1232+
if ( !context.renderContext().forceVectorOutput() && !rotated )
12341233
{
12351234
usePict = false;
12361235
const QImage& img = QgsSvgCache::instance()->svgAsImage( path, size, fillColor, outlineColor, outlineWidth,

0 commit comments

Comments
 (0)
Please sign in to comment.