Package: libwmf-bin
Version: 0.2.8.4-6.1
Severity: normal

--- 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.

-Christoph

[1] http://www.w3.org/TR/SVG/painting.html#FillProperties

--- System information. ---
Architecture: i386
Kernel:       Linux 2.6.31-1-686

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.






-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to