[Qgis-developer] Default fill/outline color for svg symbols

Nyall Dawson nyall.dawson at gmail.com
Sat Oct 10 04:33:34 PDT 2015

On 10 October 2015 at 22:27, Richard Duivenvoorde <rdmailings at duif.net> wrote:
> On 10-10-15 13:21, Nyall Dawson wrote:
>> At the moment, changing the symbol resets the full and outline color
>> to match the default fill/outline set in the SVG symbol. I'd like to
>> change this behaviour so that whatever user-set fill/outline color is
>> kept when changing the source svg symbol. Any objections?
> Mmm.. first I thought good fix, but now I think: what if people have
> different colored svg symbols (like different color green tree's)...
> If I played with a symbol's symbol (made it orange), and select another
> one. Will that then have the last 'play color'? Or will the tree still
> be green?

This will only affect SVG symbols which have been edited to allow
setting the color using parameters. So if someone wants hardcoded
colors which never change, they are unlikely to have gone to the extra
effort to allow customisable colors.

But yes, if they had a tree SVG image which they'd modified to allow
customisable colors and had set the default color to green, then that
green colour would be ignored when switching between different svg
source symbols.


> Richard
> _______________________________________________
> Qgis-developer mailing list
> Qgis-developer at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-developer

More information about the Qgis-developer mailing list