stefanix/LasaurApp

Bug: literal colors in svg reader

Closed this issue · 1 comments

As steve posted to the mailing list:

It looks like I found a bug in the lasaurapp's SVG reader. It doesn't
understand named colors.

If I have an SVG file containing:

<path style="stroke:red; .....

...then I get grey lines in lasaurapp - but red in Inkscape, CorelDraw,
Chrome, Firefox, etc. The SVG specification says this is OK - and even
uses named colors in some of it's examples, so it's definitely good SVG.

If I change the file to have:

<path style="stroke:#ff0000; .....

...then it works just fine! A quick fix for anyone who has this problem
is to load the file into Inkscape, then write it back out again.

implemented in upcoming driveboard update