Bug#297783: dia: Unable to fill some assorted shapes

Benoît Sibaud Benoît Sibaud , 297783@bugs.debian.org
Wed, 2 Mar 2005 22:18:55 +0100


This is a multi-part message in MIME format.

--Multipart=_Wed__2_Mar_2005_22_18_55_+0100_3ECNmVcdKnHBCfSs
Content-Type: text/plain; charset=ISO-8859-15
Content-Transfer-Encoding: quoted-printable

Package: dia
Version: 0.94.0-6
Severity: normal
Tags: patch

"Left-Up Arrow", Heptagon, Five Point Star, Trapezoid, Right Angle and
Triangle assorted shapes can't be filled (ie. the selected background col=
or
is ignored).

It looks like the problem is the style=3D"fill: #ffffff" in polygon
definition (shapes that can be filled use style=3D"fill: default" (or
style=3D"fill: background" for arrow-turn-up.shape)). Replacing #ffffff b=
y
default solves the problem.

-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.8-1-686-smp
Locale: LANG=3Dfr_FR@euro, LC_CTYPE=3Dfr_FR@euro (charmap=3DISO-8859-15)

Versions of packages dia depends on:
ii  dia-common                  0.94.0-6     Diagram editor (common files=
)
ii  dia-libs                    0.94.0-6     Diagram editor (library file=
s)
ii  libart-2.0-2                2.3.17-1     Library of functions for 2D
graphi
ii  libatk1.0-0                 1.8.0-4      The ATK accessibility toolki=
t
ii  libc6                       2.3.2.ds1-20 GNU C Library: Shared
libraries an
ii  libfreetype6                2.1.7-2.3    FreeType 2 font engine, shar=
ed
lib
ii  libglib2.0-0                2.6.2-1      The GLib library of C routin=
es
ii  libgtk2.0-0                 2.6.2-3      The GTK+ graphical user
interface=20
ii  libpango1.0-0               1.8.0-3      Layout and rendering of
internatio
ii  libpng12-0                  1.2.8rel-1   PNG library - runtime
ii  libpopt0                    1.7-5        lib for parsing cmdline
parameters
ii  libxml2                     2.6.16-3     GNOME XML library
ii  zlib1g                      1:1.2.2-4    compression library - runtim=
e

-- no debconf information

--=20
Beno=EEt Sibaud

--Multipart=_Wed__2_Mar_2005_22_18_55_+0100_3ECNmVcdKnHBCfSs
Content-Type: text/plain;
 name="patch-dia-0.94.0_6-assorted_shapes.diff"
Content-Disposition: attachment;
 filename="patch-dia-0.94.0_6-assorted_shapes.diff"
Content-Transfer-Encoding: 7bit

diff -u dia-0.94.0/shapes/Assorted.old/arrow-left-up.shape dia-0.94.0/shapes/Assorted/arrow-left-up.shape
--- dia-0.94.0/shapes/Assorted.old/arrow-left-up.shape	2004-08-16 09:56:26.000000000 +0200
+++ dia-0.94.0/shapes/Assorted/arrow-left-up.shape	2005-03-02 20:23:22.894894505 +0100
@@ -53,7 +53,7 @@
   </connections>
   <aspectratio type="fixed"/>
   <svg:svg>
-    <svg:polygon style="fill: #ffffff" points="6,2 7,2 5,0 3,2 4,2 4,4 2,4 2,3 0,5 2,7 2,6 6,6 "/>
+    <svg:polygon style="fill: default" points="6,2 7,2 5,0 3,2 4,2 4,4 2,4 2,3 0,5 2,7 2,6 6,6 "/>
     <svg:polygon style="stroke-width: 0.1; stroke: #000000" points="6,2 7,2 5,0 3,2 4,2 4,4 2,4 2,3 0,5 2,7 2,6 6,6 "/>
   </svg:svg>
 </shape>
diff -u dia-0.94.0/shapes/Assorted.old/heptagon.shape dia-0.94.0/shapes/Assorted/heptagon.shape
--- dia-0.94.0/shapes/Assorted.old/heptagon.shape	2004-08-16 09:56:27.000000000 +0200
+++ dia-0.94.0/shapes/Assorted/heptagon.shape	2005-03-02 20:24:00.387102564 +0100
@@ -33,7 +33,7 @@
   </connections>
   <aspectratio type="fixed"/>
   <svg:svg>
-    <svg:polygon style="fill: #ffffff" points="0,6 0.5,2 5,0 9.5,2 10,6 7.5,9.5 2.5,9.5 "/>
+    <svg:polygon style="fill: default" points="0,6 0.5,2 5,0 9.5,2 10,6 7.5,9.5 2.5,9.5 "/>
     <svg:polygon style="stroke-width: 0.1; stroke: #000000" points="0,6 0.5,2 5,0 9.5,2 10,6 7.5,9.5 2.5,9.5 "/>
   </svg:svg>
 </shape>
diff -u dia-0.94.0/shapes/Assorted.old/star5.shape dia-0.94.0/shapes/Assorted/star5.shape
--- dia-0.94.0/shapes/Assorted.old/star5.shape	2004-08-16 09:56:27.000000000 +0200
+++ dia-0.94.0/shapes/Assorted/star5.shape	2005-03-02 20:23:32.560659142 +0100
@@ -46,7 +46,7 @@
   </connections>
   <aspectratio type="free"/>
   <svg:svg>
-    <svg:polygon style="fill: #ffffff" points="0,4.5 5,4.5 7,0 9,4.5 14,4.5 10,7.5 12,12.5 7,9 2,12.5 4,7.5 "/>
+    <svg:polygon style="fill: default" points="0,4.5 5,4.5 7,0 9,4.5 14,4.5 10,7.5 12,12.5 7,9 2,12.5 4,7.5 "/>
     <svg:polygon style="stroke-width: 0.1; stroke: #000000" points="0,4.5 5,4.5 7,0 9,4.5 14,4.5 10,7.5 12,12.5 7,9 2,12.5 4,7.5 "/>
   </svg:svg>
   <!-- Alan Horkan was here 2002 -->
diff -u dia-0.94.0/shapes/Assorted.old/trapezoid.shape dia-0.94.0/shapes/Assorted/trapezoid.shape
--- dia-0.94.0/shapes/Assorted.old/trapezoid.shape	2004-08-16 09:56:27.000000000 +0200
+++ dia-0.94.0/shapes/Assorted/trapezoid.shape	2005-03-02 20:23:39.830729953 +0100
@@ -15,7 +15,7 @@
   </connections>
   <aspectratio type="free"/>
   <svg:svg>
-    <svg:polygon style="fill: #ffffff" points="1,0 3,0 4,2 0,2 "/>
+    <svg:polygon style="fill: default" points="1,0 3,0 4,2 0,2 "/>
     <svg:polygon style="stroke-width: 0.1; stroke: #000000" points="1,0 3,0 4,2 0,2 "/>
   </svg:svg>
 </shape>
diff -u dia-0.94.0/shapes/Assorted.old/triangle-rightangle.shape dia-0.94.0/shapes/Assorted/triangle-rightangle.shape
--- dia-0.94.0/shapes/Assorted.old/triangle-rightangle.shape	2004-08-16 09:56:27.000000000 +0200
+++ dia-0.94.0/shapes/Assorted/triangle-rightangle.shape	2005-03-02 20:23:50.612351925 +0100
@@ -15,7 +15,7 @@
   </connections>
   <aspectratio type="free"/>
   <svg:svg>
-    <svg:polygon style="fill: #ffffff" points="0,2 2,2 0,0 "/>
+    <svg:polygon style="fill: default" points="0,2 2,2 0,0 "/>
     <svg:polygon style="stroke-width: 0.1; stroke: #000000" points="0,2 2,2 0,0 "/>
   </svg:svg>
 </shape>

--Multipart=_Wed__2_Mar_2005_22_18_55_+0100_3ECNmVcdKnHBCfSs--