pstoedit missing separators in svg output

Bug #326570 reported by Roland Orre
6
Affects Status Importance Assigned to Milestone
pstoedit (Debian)
Fix Released
Unknown
pstoedit (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: pstoedit

On some eps input files pstoedit generates svg output which gives parsing errors.

In the attached example the file diagram.eps is converted to svg with the command
 /usr/bin/pstoedit -noclip -xshift -30 -yshift 200 -ndt -usebbfrominput -f plot-svg diagram.eps diagram-bug.svg

this file can not be included in e.g. inkscape or be parsed by e.g. seamonkey
seamonkey diagram-bug.svg
gives

XML Parsing Error: not well-formed
Location: file:///home/orre/work/who5/toxscore4/error/diagram-bug.svg
Line Number 79, Column 129:<polygon points="81.801,280.55 106.85,280.55 106.85,464.65 81.801,464.65 " stroke="lime" stroke-width="0" stroke-dasharray="2 1"fill="lime" fill-rule="nonzero" />
--------------------------------------------------------------------------------------------------------------------------------^

The problem is that there is no blank space before fill=
A workaround is to edit the generated output file
/usr/bin/pstoedit -noclip -xshift -30 -yshift 200 -ndt -usebbfrominput -f plot-svg $1 |sed -e 's/"fill=/" fill=/g' > $dst

ProblemType: Bug
Architecture: amd64
Date: Sat Feb 7 15:02:59 2009
DistroRelease: Ubuntu 8.04
Package: pstoedit 3.45-4
PackageArchitecture: amd64
SourcePackage: pstoedit
Uname: Linux 2.6.24-21-generic x86_64
UnreportableReason: This is not a genuine Ubuntu package

Tags: apport-bug
Revision history for this message
Roland Orre (roland-orre) wrote :
Revision history for this message
Marcel Stimberg (marcelstimberg) wrote :

This problem still exists for pstoedit in lucid and maverick.

Changed in pstoedit (Ubuntu):
status: New → Confirmed
Changed in pstoedit (Debian):
status: Unknown → Confirmed
Revision history for this message
Marcel Stimberg (marcelstimberg) wrote :

Looking at the attachments in this bug report, I noticed that one was flagged as a patch incorrectly. A patch contains changes to an Ubuntu package that will resolve a bug, since this was not one I've unchecked the patch flag for it. In the future keep in mind the definition of a patch. You can learn more about what qualifies as a patch at https://wiki.ubuntu.com/Bugs/Patches. Thanks!

Changed in pstoedit (Debian):
status: Confirmed → Fix Released
Changed in pstoedit (Ubuntu):
status: Confirmed → Fix Released
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.