Your message dated Sat, 31 Jul 2010 20:47:35 +0000
with message-id <[email protected]>
and subject line Bug#590857: fixed in dia 0.97.1-7
has caused the Debian Bug report #590857,
regarding fig export has wrong threshold for linewidth mapping
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
590857: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=590857
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: dia
Version: 0.97.1-6
When exporting to fig format, small linewidths from 2-10 (in XFig 1/80 inch
units) can not be generated and all gets mapped to width 1.
This is handled in plug-ins/xfig/xfig-export.c by the following:
...
if (renderer->linewidth <= 0.3175) width = 1;
else width = (int)((renderer->linewidth / 2.54) * 80.0);
...
Inserting the threshold-value in the scaling expression gives:
0.3175/2.54*80 = 10
Changing the threshold to 0.03175 makes it possible to generate fig-files with
linewidths between 1 and 10.
See attached patch.
lines.dia shows some lines of different widths and lines.fig shows the result
of exporting to fig after applying the patch to dia.
--
Heine Larsen
--- dia-0.97.1.orig/plug-ins/xfig/xfig-export.c
+++ dia-0.97.1/plug-ins/xfig/xfig-export.c
@@ -295,7 +295,7 @@ figLineWidth(XfigRenderer *renderer)
{
int width = 0;
/* Minimal line width in fig diagrams. */
- if (renderer->linewidth <= 0.3175) width = 1;
+ if (renderer->linewidth <= 0.03175) width = 1;
else width = (int)((renderer->linewidth / 2.54) * 80.0);
return width;
}
lines.dia
Description: application/dia-diagram
lines.fig
Description: application/xfig
--- End Message ---
--- Begin Message ---
Source: dia
Source-Version: 0.97.1-7
We believe that the bug you reported is fixed in the latest version of
dia, which is due to be installed in the Debian FTP archive:
dia-common_0.97.1-7_all.deb
to main/d/dia/dia-common_0.97.1-7_all.deb
dia-gnome_0.97.1-7_i386.deb
to main/d/dia/dia-gnome_0.97.1-7_i386.deb
dia-libs_0.97.1-7_i386.deb
to main/d/dia/dia-libs_0.97.1-7_i386.deb
dia_0.97.1-7.debian.tar.gz
to main/d/dia/dia_0.97.1-7.debian.tar.gz
dia_0.97.1-7.dsc
to main/d/dia/dia_0.97.1-7.dsc
dia_0.97.1-7_i386.deb
to main/d/dia/dia_0.97.1-7_i386.deb
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Roland Stigge <[email protected]> (supplier of updated dia package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.8
Date: Sat, 31 Jul 2010 19:22:35 +0200
Source: dia
Binary: dia-common dia-libs dia dia-gnome
Architecture: source all i386
Version: 0.97.1-7
Distribution: unstable
Urgency: low
Maintainer: Debian Dia Team <[email protected]>
Changed-By: Roland Stigge <[email protected]>
Description:
dia - Diagram editor
dia-common - Diagram editor (common files)
dia-gnome - Diagram editor (GNOME version)
dia-libs - Diagram editor (library files)
Closes: 590857
Changes:
dia (0.97.1-7) unstable; urgency=low
.
* Added patch from Heine Larsen <[email protected]> to fix linewidth
threshold for fig export (Closes: #590857)
* debian/control: Standards-Version: 3.9.1
Checksums-Sha1:
d00588210019e3ce3ae675915a60de7f2ca6e024 1479 dia_0.97.1-7.dsc
e1e5e8c3f48c35ae9fca307e6e3dc1023afd42ab 20672 dia_0.97.1-7.debian.tar.gz
d537d32632e99769129b2d0851fb055c2071dc3b 6182790 dia-common_0.97.1-7_all.deb
84753dead11bf69169429b9c5b88fb10d157393b 842142 dia-libs_0.97.1-7_i386.deb
02f114868a6094f2013168b56883b9b9faa1777d 202320 dia_0.97.1-7_i386.deb
bc52b78e307da4be4881970eef601e3ab9802983 202970 dia-gnome_0.97.1-7_i386.deb
Checksums-Sha256:
ce0687875f120ffdc1fd3230f9387e20e321d9dd9b8003fd692fb11083237510 1479
dia_0.97.1-7.dsc
73c9d6d297af7834febfcd3c14ffb25a54930f681d92feffb6c9191a8270d761 20672
dia_0.97.1-7.debian.tar.gz
01462d59f583e7db280ed6137bda74f6dfc44e456e82fff377bd4a19fe3492bf 6182790
dia-common_0.97.1-7_all.deb
e73fa234906aa6b18cc6cf0ae9f875a967bdb4d98f34f94f3b3d405b57d0283e 842142
dia-libs_0.97.1-7_i386.deb
f037e185a8da0c234100fa451156d252cff2baf38efe62d59ce5c127dae5ee86 202320
dia_0.97.1-7_i386.deb
f6fabbb44a71ecf99b285689450cb52931410427fded5e0d0ed9438a64105d95 202970
dia-gnome_0.97.1-7_i386.deb
Files:
b9713e90c919aa863ece3aedf59093be 1479 graphics optional dia_0.97.1-7.dsc
76ee4c72f21f54602f6bf7f3d548d70b 20672 graphics optional
dia_0.97.1-7.debian.tar.gz
aeebe7e931c37119c8fb9273d4a2f373 6182790 graphics optional
dia-common_0.97.1-7_all.deb
71554fab6e9cf10688502a453a75eb75 842142 graphics optional
dia-libs_0.97.1-7_i386.deb
aaef95026f67fd9e119fda8e5f51d1f5 202320 graphics optional dia_0.97.1-7_i386.deb
45038122d364da3a43ae29fddd36bdda 202970 gnome optional
dia-gnome_0.97.1-7_i386.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
iD8DBQFMVH/EcaH/YBv43g8RAk/cAJ9JLCtWO8BzYDfvo5ZbtNUyEnDQLQCgz2Bh
ZbOMysamVHC4sEPTBOThSG0=
=ICQz
-----END PGP SIGNATURE-----
--- End Message ---