shape-tools icon indicating copy to clipboard operation
shape-tools copied to clipboard

Tree Cannot be Colored

Open ejabu opened this issue 8 years ago • 1 comments

Hi, I tried to convert this SVG, but I got the tree colored as grey. While the rectangle below, colored correctly as an original file

This is the svg file https://drive.google.com/file/d/0B7bj5iU6fZENbWUzQmRmYTdyRzA/view?usp=sharing

please help

thanks

ejabu avatar Jan 17 '17 01:01 ejabu

Hi, seems I found the solution

by using Inkscape, the fill properties is written inside the style=""

<rect
     style="opacity:0.98999999;fill:#ff00ff;fill-opacity:1;fill-rule:evenodd;stroke:#00ce00;stroke-width:4;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
     id="hehe"
     width="48.57144"
     height="134.28572"
     x="117.14286"
     y="98.076492" />

it is working if I put the fill outside style properties

<rect
     style="opacity:0.98999999;fill-opacity:1;fill-rule:evenodd;stroke:#00ce00;stroke-width:4;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
     id="hehe"
     width="48.57144"
     height="134.28572"
   fill:#ff00ff
     x="117.14286"
     y="98.076492" />

ejabu avatar Jan 17 '17 08:01 ejabu