[dia] 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] Bug 625616 - fig export has wrong threshold for linewidth mapping
- Date: Fri, 30 Jul 2010 20:10:52 +0000 (UTC)
commit 2e40104c80f5fcf4f3c4e32dfbbacef12af72276
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
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 cbccb97..c0ee4ef 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]