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 25, 2023
1 parent 7676f53 commit 6be840c
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 @@ -18292,7 +18292,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 6be840c

Please sign in to comment.