https://bugzilla.novell.com/show_bug.cgi?id=464381
User sbrabec@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=464381#c7
Summary: inkscape cannot open valid EPS, pstoedit creates invalid
SVG (libplot bug)
Product: openSUSE 11.1
Version: Final
Platform: Other
OS/Version: Other
Status: NEW
Severity: Major
Priority: P5 - None
Component: GNOME
AssignedTo: pgajdos@novell.com
ReportedBy: sbrabec@novell.com
QAContact: qa@suse.de
Found By: ---
Many applications including inkscape refuse to import correct postscript files.
Other applications including pstoedit create invalid svg file.
Here is a minimal example:
===== dash.ps =====
5 setgray
10 setlinewidth
[18 2 2 2] 0 setdash
newpath
200 200 moveto
0 100 rlineto
-100 0 rlineto
0 -100 rlineto
closepath
gsave
stroke
grestore
eofill
showpage
quit
===================
Steps to reproduce:
# Encapsulate dash.ps
ps2ps dash.ps dashe.ps
Then try to open dashe.ps by inkscape or:
# Convert to SVG
pstoedit dashe.ps dash.svg
Then open the resulting SVG in inkscape or eog. Both fails.
Running xmllint discovers following line: