summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--share/extensions/dxf_input.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/share/extensions/dxf_input.py b/share/extensions/dxf_input.py
index 7e7a78da9..6c759ba8f 100644
--- a/share/extensions/dxf_input.py
+++ b/share/extensions/dxf_input.py
@@ -235,6 +235,8 @@ while line[0] and line[1] != 'ENDSEC':
if vals[groups['370']]: # Common Lineweight
if vals[groups['370']][0] > 0:
w = scale*vals[groups['370']][0]/100.0
+ if w < 0.5:
+ w = 0.5
style = simplestyle.formatStyle({'stroke': '%s' % color, 'fill': 'none', 'stroke-width': '%.1f' % w})
entities[entity]()
entity = line[1]