SVG files from other programs not being 'sanitised'; Fill and stroke attributes unset on imported objects and following path operations.

Bug #1581165 reported by Alex Farlie
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Inkscape
New
Undecided
Unassigned

Bug Description

The attached file is an SVG (of an EPS file output from Illustrator. Asked someone to do this so as to rule out the possibility of some glitches in the EPS-PDF-SVG process.

The file looks normal... However, examining it in more depth leads to rather noisy XML code (seeing a lot of whitespace..

Also seeing a lot of 'adjacent' but seemingly unmerged nodes which overlap.

Attempted to "union" the upper Yellow panel, at which point Inkscape decided to "Unset" the fill annd stroke for it.

Perhaps someone would care to write a 'sanistiser' to force SVG loaded into inkscape into ONE W3C validatable format?

Tags: importing eps
Revision history for this message
Alex Farlie (afarlie) wrote :
Revision history for this message
Alex Farlie (afarlie) wrote :

This is with inkscape Inkscape 0.91 r13725

Revision history for this message
Alex Farlie (afarlie) wrote :

My bad.... Sorry...

Revision history for this message
Alex Farlie (afarlie) wrote :

Ammending title... This seems to be 2 issues.

1) styling attributes present in the files (fill) at start are not handled correctly on path operations

2) Adjacent node mergeing issues -

Another example is (different file):
https://drive.google.com/folderview?id=0By9Dk3DLfbqMN2ZYeGpqUjUzM0U&usp=sharing

Alex Farlie (afarlie)
summary: - SVG files from other programs not being 'santised'
+ SVG files from other programs not being 'sanitised'; Fill and stroke
+ attributes unset on imported objects and following path operations.
jazzynico (jazzynico)
tags: added: eps importing
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.