diff --git a/src/display/svg.js b/src/display/svg.js index 9e1cc1a50..e36e2c73b 100644 --- a/src/display/svg.js +++ b/src/display/svg.js @@ -903,7 +903,9 @@ SVGGraphics = (function SVGGraphicsClosure() { // Path properties setLineWidth: function SVGGraphics_setLineWidth(width) { - this.current.lineWidth = width; + if (width > 0) { + this.current.lineWidth = width; + } }, setLineCap: function SVGGraphics_setLineCap(style) { this.current.lineCap = LINE_CAP_STYLES[style];