You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A regressions slipped into QGIS master which leads to broken composer export of svg marker symbology when the svg file does not define a viewBox tag. As the dpi grows (or as you zoom into the composer sheet and refresh the map item canvas), the outline grows exponentially.
Steps to reproduce:
Open the attached svg_viewport_issue test project
Open the Composer 1
Set the zoom level to 100%, and refresh the map item, the two svg markers should be more or less the same
Set the zoom level to 400%, and refresh the map item, the outline of the svg marker to the right (the one with a viewBox-less svg file) is broken
Serious regression, let me know if I can do anything else to facilitate things.
subject was changed from svg markers with svg files not defining viewPort fails to properly export, wrong outline size to svg markers with svg files not defining viewBox fails to properly export, wrong outline size
Not a regression - this same behaviour has been present for < 2.14, and is caused by parameterised outline width in an svg which doesn't have a viewbox. There's no solution to this apart from fixing the svg and adding the viewbox. Without the viewbox, it's impossible to determine the actual size of the svg and scale the outline width parameter into the units required to match the svg dimensions.
resolution was changed from to invalid
status_id was changed from Open to Closed
qgib
added
Bug
Either a bug report, or a bug fix. Let's hope for the latter!
Symbology
Related to vector layer symbology or renderers
labels
May 25, 2019
Author Name: Mathieu Pellerin - nIRV (Mathieu Pellerin - nIRV)
Original Redmine Issue: 13847
Affected QGIS version: master
Redmine category:symbology
Assignee: Nyall Dawson
A regressions slipped into QGIS master which leads to broken composer export of svg marker symbology when the svg file does not define a viewBox tag. As the dpi grows (or as you zoom into the composer sheet and refresh the map item canvas), the outline grows exponentially.
Steps to reproduce:
Serious regression, let me know if I can do anything else to facilitate things.
(oups, somehow, my brain's wiring got viewBox <-> viewPort confused :) )
The text was updated successfully, but these errors were encountered: