diff options
| author | Alvin Penner <penner@vaxxine.com> | 2008-12-19 23:45:45 +0000 |
|---|---|---|
| committer | alvinpenner <alvinpenner@users.sourceforge.net> | 2008-12-19 23:45:45 +0000 |
| commit | 9720f2a4e9d10bf9e10d92ee72c7c547f5d37448 (patch) | |
| tree | fa013fe12e3e7bfeff40e9e33dfe64a5f7903778 | |
| parent | fix bug #166937 (with viewBox, simplify oversimplifies) (diff) | |
| download | inkscape-9720f2a4e9d10bf9e10d92ee72c7c547f5d37448.tar.gz inkscape-9720f2a4e9d10bf9e10d92ee72c7c547f5d37448.zip | |
lower limit on linewidth
(bzr r7015)
| -rw-r--r-- | share/extensions/dxf_input.py | 2 |
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]
|
