Skip to content

Commit

Permalink
startSVGElementHandler : fixed problem with svg styles not being appl…
Browse files Browse the repository at this point in the history
…ied to polylines.
  • Loading branch information
naitoh committed Dec 28, 2023
1 parent 2dc77d6 commit bb48c6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/rbpdf.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18293,7 +18293,7 @@ def startSVGElementHandler(name, attribs, clipping = false)
start_transform()
svg_transform(tm)
obstyle = setSVGStyles(svgstyle, prev_svgstyle, x, y, w, h, 'poly_line', [p, 'CNZ'])
poly_line(p, 'D')
poly_line(p, obstyle)
stop_transform()
else # polygon
if clipping
Expand Down

0 comments on commit bb48c6d

Please sign in to comment.