Bug report #12948
different SVG extent in composer than in map canvas
|Affected QGIS version:||master||Regression?:||No|
|Operating System:||Easy fix?:||No|
|Pull Request or Patch supplied:||No||Resolution:|
|Crashes QGIS or corrupts data:||No||Copied to github as #:||21028|
Map canvas uses the document extent while composer renders all elements from the SVG (including those out of document extent).
This is a bit annoying.
At least it should be coherent.
Here is how it looks like in QGIS
And in composer:
Fixed fish and alcohol SVG files (fixes #12948)
Both SVGs had an extra path out of specified bounds which was getting
clipped out when rendering to canvas, but not in other places.
#2 Updated by Denis Rouzaud almost 5 years ago
- Affected QGIS version changed from 2.8.2 to master
- Status changed from Closed to Reopened
- Category changed from Map Legend to Map Composer/Printing
In composer, SVG symbols are rendered on their whole extent and not the document extent like in the map canvas.
At least, the behavior should be coherent.