[dia/dia-0-97] Bug 625616 - fig export has wrong threshold for linewidth mapping
- From: Hans Breuer <hans src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [dia/dia-0-97] Bug 625616 - fig export has wrong threshold for linewidth mapping
- Date: Sat, 17 Dec 2011 15:57:44 +0000 (UTC)
commit 3a5ae4522477a99b52a92be1b03c53fe40df0911
Author: Hans Breuer <hans breuer org>
Date: Fri Jul 30 22:10:18 2010 +0200
Bug 625616 - fig export has wrong threshold for linewidth mapping
See also: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=590857
(cherry picked from commit 2e40104c80f5fcf4f3c4e32dfbbacef12af72276)
plug-ins/xfig/xfig-export.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/plug-ins/xfig/xfig-export.c b/plug-ins/xfig/xfig-export.c
index 63179b4..c6b4a5f 100644
--- a/plug-ins/xfig/xfig-export.c
+++ b/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;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]