Debian Bug report logs -
#590857
fig export has wrong threshold for linewidth mapping
Toggle useless messages
Report forwarded
to debian-bugs-dist@lists.debian.org, Debian Dia Team <pkg-dia-team@lists.alioth.debian.org>:
Bug#590857; Package dia.
(Thu, 29 Jul 2010 17:51:04 GMT) (full text, mbox, link).
Acknowledgement sent
to Heine Larsen <heine@skjulhoj.dk>:
New Bug report received and forwarded. Copy sent to Debian Dia Team <pkg-dia-team@lists.alioth.debian.org>.
(Thu, 29 Jul 2010 17:51:04 GMT) (full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
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-linewidth-threshold.diff (text/plain, attachment)]
[lines.dia (application/x-dia-diagram, attachment)]
[lines.fig (application/x-xfig, attachment)]
Added tag(s) patch.
Request was from Roland Stigge <stigge@antcom.de>
to control@bugs.debian.org.
(Thu, 29 Jul 2010 20:30:05 GMT) (full text, mbox, link).
Added tag(s) upstream.
Request was from Roland Stigge <stigge@antcom.de>
to control@bugs.debian.org.
(Thu, 29 Jul 2010 20:30:07 GMT) (full text, mbox, link).
Added tag(s) fixed-upstream.
Request was from Roland Stigge <stigge@antcom.de>
to control@bugs.debian.org.
(Fri, 30 Jul 2010 20:27:08 GMT) (full text, mbox, link).
Added tag(s) pending.
Request was from Roland Stigge <stigge@antcom.de>
to control@bugs.debian.org.
(Fri, 30 Jul 2010 20:27:10 GMT) (full text, mbox, link).
Reply sent
to Roland Stigge <stigge@antcom.de>:
You have taken responsibility.
(Sat, 31 Jul 2010 20:51:20 GMT) (full text, mbox, link).
Notification sent
to Heine Larsen <heine@skjulhoj.dk>:
Bug acknowledged by developer.
(Sat, 31 Jul 2010 20:51:20 GMT) (full text, mbox, link).
Message #20 received at 590857-close@bugs.debian.org (full text, mbox, reply):
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 590857@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Roland Stigge <stigge@antcom.de> (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 ftpmaster@debian.org)
-----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 <pkg-dia-team@lists.alioth.debian.org>
Changed-By: Roland Stigge <stigge@antcom.de>
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 <heine@skjulhoj.dk> 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-----
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Wed, 08 Sep 2010 07:35:03 GMT) (full text, mbox, link).
Send a report that this bug log contains spam.
Debian bug tracking system administrator <owner@bugs.debian.org>.
Last modified:
Sun Jul 2 07:31:23 2023;
Machine Name:
bembo
Debian Bug tracking system
Debbugs is free software and licensed under the terms of the GNU
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.
Copyright © 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.