Bug report #10616

centroid simple markers applied to composer shape items are rasterized and look pixelated when zoomed in > 100%

Added by Mathieu Pellerin - nIRV almost 10 years ago. Updated almost 10 years ago.

Status:Closed
Priority:Normal
Assignee:-
Category:-
Affected QGIS version:2.2.0 Regression?:No
Operating System: Easy fix?:No
Pull Request or Patch supplied:No Resolution:
Crashes QGIS or corrupts data:No Copied to github as #:19020

Description

Steps to reproduce:
1. Create a new project
2. Create a new composer sheet, and add a rectangle item to it
3. Edit the rectangle item's symbology via the 'Change...' button
4. Add a centroid fill style layer, and increase the size of the simple marker to 15, then apply
5. Back onto the composer sheet, zoom in onto the centroid marker so that the composer sheet zoom is >100%, the pixels will be noticeable

If you define the size of the simple marker through a data-defined expression, the rendering doesn't rasterize the marker and even when you zoom to extreme values, the marker looks sharp. See attached screenshot (marker 1 and 3 are using data-defined size, marker 2 using the user interface's size spinbox)

It's a composer rendering specific issue as a centroid simple marker applied to a polygon on a map will (properly) export to vector.

pixels.png (60.1 KB) Mathieu Pellerin - nIRV, 2014-06-18 12:27 AM

composer_shapes_rasterization.svg (50.3 KB) Mathieu Pellerin - nIRV, 2014-06-18 12:34 AM

Associated revisions

Revision d06a1fe3
Added by Nyall Dawson almost 10 years ago

[composer] Force vector rendering of shape and page symbology (fix #10616)

History

#1 Updated by Mathieu Pellerin - nIRV almost 10 years ago

I'm attaching an exported SVG that shows centroid simple markers properly exported as vector alongside the same symbology rasterized upon export when applied to a composer shape.

#2 Updated by Nyall Dawson almost 10 years ago

  • Status changed from Open to Closed

Also available in: Atom PDF