#580360 [libwmf-bin] wmf2svg doesn't set fill:none property

Package:
libwmf-bin
Source:
libwmf
Description:
Windows metafile conversion tools
Submitter:
Christoph Burgmer
Date:
2010-05-05 13:09:05 UTC
Severity:
normal
#580360#5
Date:
2010-05-05 12:48:18 UTC
From:
To:
--- Please enter the report below this line. ---
wmf2svg is missing the "fill:none" property for all objects without fill in my
specific source. However the standard defines the default value of fill to be
"black" [1] which Inkscape renders as such. This adds a black fill to lines and
boxes though not being defined in the original wmf file.

A workaround is the following short sed substitution:

cat file.svg | sed "s/style=\"\(.*\)\"/style=\"fill:none;\\1\"/" > file_new.svg

This script adds fill:none for all tags with a style attribute. Tags that
already have an attribute have their initial "none" value ignored in inkscape.

Due to external Copyright I can't post the original wmf file, sorry.

Debian Release: squeeze/sid
  500 unstable        ftp.de.debian.org
  101 experimental    ftp.de.debian.org
--- Package information. ---
Depends              (Version) | Installed
==============================-+-==============
libc6                 (>= 2.3) | 2.10.2-6
libexpat1          (>= 1.95.8) | 2.0.1-7
libfreetype6        (>= 2.2.1) | 2.3.11-1
libjpeg62                      | 6b-16.1
libpng12-0       (>= 1.2.13-4) | 1.2.42-2
libwmf0.2-7       (>= 0.2.8.4) | 0.2.8.4-6.1
libx11-6                       | 2:1.3.3-1
zlib1g            (>= 1:1.1.4) | 1:1.2.3.4.dfsg-3


Package's Recommends field is empty.

Package's Suggests field is empty.