Forum Discussion
troyhimes
Resolver I
3 years agoSVG Custom Icons appear with unwanted border
On many of my imported svg icons they include a very thin (1 pixel? highlighted w/red box) partial border. This border is not present when viewing in Powerpoint. How do I get rid of it? ...
troyhimes
Resolver I
3 years agoVahidDM, thanks for the response.
Since I'm an svg novice I downloaded Inkscape and viewed the expand arrows from my original post. The extraneous lines don't appear when viewed in Inkscape and it doesn't look like there is an extra rectangle ( I may not be interpreting that correctly).
You're right...the xml looks like latin to me.
Since I'm able to view the svg file w/o any funky borders in any other software I open it in, is it possibly a Power BI issue?
<!doctype html>
<svg viewBox="144.374 112.979 122.88 122.88" width="122.88" height="122.88">
<g transform="matrix(1, 0, 0, 1, 144.373947, 112.9786)">
<path class="st0" d="M0,122.88l1.01-51.25L17.18,87.8c15.42-15.43,17.1-17.11,32.53-32.53l17.9,17.91 C52.19,88.6,50.51,90.28,35.08,105.7l16.17,16.17L0,122.88L0,122.88L0,122.88z M122.88,0L71.62,1.01l16.17,16.17 C72.37,32.6,70.69,34.29,55.27,49.71l17.9,17.91c15.43-15.42,17.11-17.11,32.53-32.53l16.17,16.18L122.88,0L122.88,0L122.88,0z" style="clip-rule: evenodd; fill-rule: evenodd;"></path>
</g>
</svg>
<svg viewBox="0 0 500 500" xmlns="http://www.w3.org/2000/svg">
<g transform="matrix(1, 0, 0, 1, 144.373952, 112.978603)">
<path class="st0" d="M0,122.88l1.01-51.25L17.18,87.8c15.42-15.43,17.1-17.11,32.53-32.53l17.9,17.91 C52.19,88.6,50.51,90.28,35.08,105.7l16.17,16.17L0,122.88L0,122.88L0,122.88z M122.88,0L71.62,1.01l16.17,16.17 C72.37,32.6,70.69,34.29,55.27,49.71l17.9,17.91c15.43-15.42,17.11-17.11,32.53-32.53l16.17,16.18L122.88,0L122.88,0L122.88,0z" style="clip-rule: evenodd; fill-rule: evenodd;"></path>
</g>
</svg>nfd
3 years agoRegular Visitor
I'm experiencing the same issue. SVG looks as expected if imported in an HTML visual, but contains hairlines around the border when imported as a button icon.
Curious if you were able to find a work around or fix?