svglib icon indicating copy to clipboard operation
svglib copied to clipboard

Support the plain `opacity` property

Open zxdawn opened this issue 6 years ago • 4 comments

Hi @claudep My svg's opacity is 0.2. But, the opacity is 1 after converted to pdf by svg2pdf. This is the url of svg file.

  1. svg in Photoshop svg

  2. svg2pdf image

zxdawn avatar Mar 03 '18 06:03 zxdawn

You're right, svglib implements 'fill-opacity' and 'stroke-opacity', not the plain 'opacity' yet.

claudep avatar Mar 03 '18 12:03 claudep

@claudep Thank you for reply~

zxdawn avatar Mar 03 '18 12:03 zxdawn

You shouldn't close the issue, we should fix it first!

claudep avatar Mar 03 '18 12:03 claudep

@claudep Sorry. Reopen now.

zxdawn avatar Mar 03 '18 12:03 zxdawn