[Qgis-developer] SVG symbols in QGIS with modifiable colors

2012-07-19 Thread Otto Dassau
Hi, I tried to follow the howtos in the web about defining colors for svg with param(fill), param(outline) and param(stroke-width). I used a copy from the svg /usr/share/qgis/svg/gpsicons/tree.svg. It looks a little different: [...] style="font-size:12px;stroke:#00;stroke-width:3

Re: [Qgis-developer] SVG symbols in QGIS with modifiable colors

2012-07-19 Thread Andreas Neumann
Hi Otto, Have you tried using presentation attributes only instead of the style attribute that mixes everything? It may be that QGIS only looks into the fill, stroke and stroke-width attributes and not in the style attribute. The way Inkscape exports SVG is a bit of a mess. It also exports

Re: [Qgis-developer] SVG symbols in QGIS with modifiable colors

2012-07-19 Thread Otto Dassau
Hi Andreas, I tried the "optimized" SVG output from inkscape - looks better, but still I can only change fill color, or stroke. But fill seems to overwrite stroke and I never was able to define stroke-width. Do you have a more complex example, where I could try to figure out what's wrong with my