MahdiAstanei / svg-android

Automatically exported from code.google.com/p/svg-android
0 stars 0 forks source link

UNRECOGNIZED SVG COMMAND #41

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
I downloaded the last lib version of svg-android (jar)

I create a simple svg with inkscape (on ubuntu 12.04)

here is the output( i draw the content of the loaded drawable on a canavas, 
nothing shows up

D/SVGAndroid(  532): UNRECOGNIZED SVG COMMAND: namedview
D/SVGAndroid(  532): UNRECOGNIZED SVG COMMAND: metadata
D/SVGAndroid(  532): UNRECOGNIZED SVG COMMAND: RDF
D/SVGAndroid(  532): UNRECOGNIZED SVG COMMAND: Work
D/SVGAndroid(  532): UNRECOGNIZED SVG COMMAND: format
D/SVGAndroid(  532): UNRECOGNIZED SVG COMMAND: type
D/SVGAndroid(  532): UNRECOGNIZED SVG COMMAND: title

if i add some text in the svg and convert it to real text("convert to text" in 
inkscape

then i also have unknown svg command : text

check the file as attachement , could not be simpler svg (created with simple 
shapes in a few seconds then saved to drawing.svg as a test)

it display ok with baltik library on my desktop java application
and in ubuntu with the image viewer

Original issue reported on code.google.com by pfl%gree...@gtempaccount.com on 8 Oct 2012 at 7:37

Attachments:

GoogleCodeExporter commented 8 years ago
Sir i am having the same problem .It will be appreciated if you provide with 
some solution to this.

Original comment by siddeshp...@gmail.com on 10 Apr 2013 at 4:58

GoogleCodeExporter commented 8 years ago
I ran into this as well.  This project does not support the svg commands given 
above, which is why it won't render.  I tried saving as a "Plain SVG" from 
Inkscape as well, but this didn't solve the problem.

It would probably be a quick fix for this, since the unsupported commands seem 
to be nothing more than metadata, but it doesn't look like this project is 
supported anymore.  You could try using a different SVG program instead of 
Inkscape, or maybe editing the SVG as text and removing the metadata tags.

Original comment by justinjm...@gmail.com on 25 Jun 2013 at 7:09