From: alvinpenner Date: Fri, 19 Dec 2008 23:45:45 +0000 (+0000) Subject: lower limit on linewidth X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=0831ba373418b4b433e6b5e68893277b8002e577;p=inkscape.git lower limit on linewidth --- 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]