Page 1 of 1

SVG file drawing issues

Posted: 28 Dec 2011, 19:27
by Vilo
Hi all,

I'm loading the svg file attached with CADImporterDLL, and drawing it to a windows canvas.
The 1rst issue is that no text is rendered.
Is that a known limitation of CAImporterDLL's SVG handling ?

The 2nd issue concerns the "PAGE" in this SVG.
Is there a way to access the page dimensions ?

Tks ;-)

Re: SVG file drawing issues

Posted: 03 Jan 2012, 13:02
by support
Hello.
CAD Importer DLL supports common SVG specification that can be found at http://www.w3.org. The provided file was created with Inkscape software that exports to extended (Inkscape SVG) format. Inkscape includes own tags that missed by CAD Importer reader. For example texts include -inkscape-font-specification parameter. The texts can't be imported correctly with other SVG readers also, Adobe plug-in for example:
adobe_pl.png
adobe_pl.png (78.24 KiB) Viewed 32149 times
CAD Importer DLL provides extents of a drawing via CADGetBox function.

Alexander.

Re: SVG file drawing issues

Posted: 03 Jan 2012, 13:14
by Vilo
Yes indeed, by converting the "InkScape" texts to standards "TEXT", it works.
Thanks for you reply ;-)