From 6be840c070ee9e8f5a78adade4d6fe9347339f17 Mon Sep 17 00:00:00 2001 From: NAITOH Jun Date: Wed, 6 Sep 2023 00:16:51 +0900 Subject: [PATCH] startSVGElementHandler : fixed problem with svg styles not being applied to polylines. --- lib/rbpdf.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/rbpdf.rb b/lib/rbpdf.rb index a634dd1..28b0d09 100755 --- a/lib/rbpdf.rb +++ b/lib/rbpdf.rb @@ -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