sK1 Project :: OpenSource Solutions for Prepress
View Thread
 Print Thread
SVG to CGM issues
mathog
#1 Print Post
Posted on 22-12-2011 22:37
Member

Posts: 5
Joined: 28.04.10

In Uniconvertor 1.1.5 when a particular SVG was converted these messages were emitted:

The design you tried to save in CGM Version 1 format
hit some limitations

- CGM has no Bezier curves. These are flattened

- CGM has no Gradients. These are filled black

- cgmaver doesn't save text. Text is converted
to Bezier curves

The thing is, CGM (the standard anyway) does support Bezier curves and text as text. Both of those are present in the reference set of CGM examples from the NIST:

http://www.itl.nist.gov/div897/ctg/graphics/ata30-all.zip

I have also found that Uniconvertor is very picky about the <defs> section of SVG files made by Inkscape. Sometimes it is possible to clean up the defs with "vacuum defs" in Inkscape, other times not.

Try the attached bounding_line4_plain.svg example (it is an svg, n ot a zip, but this forum would not let me upload an svg) - uniconvertor doesn't like it (gives a mysterious message about "Parsing error: at least 2 colors required".) But load it into inkscape, do "vacuum defs","save", and then uniconvertor can read it, at least for converting to CGM. It still blows up trying to convert to WMF (line 91 in gradient.py, IndexError: list index out of range). The CGM conversion, although it completes, isn't very satisfactory, all simple lines are missing, text is converted to paths (no reason here it could not stay as text, it just runs in straight lines, albeit at different angles), text size information is lost, some circles are lost, and the page size is changed (open the cgm in PPT and it is very much smaller than the same page loaded via other routes.)
 
mathog
#2 Print Post
Posted on 22-12-2011 22:39
Member

Posts: 5
Joined: 28.04.10

Hmm, attachment didn't go the first time, trying again.
mathog attached the following file:
bounding_line4_plain_svg_isnot_.zip
 
mathog
#3 Print Post
Posted on 22-12-2011 22:41
Member

Posts: 5
Joined: 28.04.10

Sorry about the double post.
 
Contractmfg32
#4 Print Post
Posted on 16-04-2012 18:42
Member

Posts: 2
Joined: 16.04.12

I have been using Corel 9 for many years now so my large archive of graphics which I copy and paste from regularly are all .cdr files.I believe that installing UniConverter will allow me to open these files in Inkscape. Or is this only possible on a Ubuntu platform?I have downloaded UniConverter 1.1.1 for Windows XP but cannot find an installation guide I can make sense of, or which appears safe to try as a non-technical PC user.
The contract manufacturing includes a good ranges of processes even variety designing to the assembling of sophisticated devices.In Catheter Marking Catheter tube continues to be those a strong device trusted inside curative business meant for implementing countless advanced diagnosing procedures.
 
http://www.amtecinc.com
Jump to Forum: