From bb48c6d256459936ffd5a09c0a4a5bddcd8cf0ef 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 1d33889..f082974 100755 --- a/lib/rbpdf.rb +++ b/lib/rbpdf.rb @@ -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