justvanrossum / drawbot-skia

A cross-platform subset of the DrawBot drawing API, using Skia

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

blendMode SVG looks wrong

joachimheintz opened this issue · comments

the svg output of blendMode is quite different from the other outputs, and looks wrong.
it happens on rendering for me, and is the same in the apitests_expected_output.

SVG doesn't support blendmode natively, only if you add some CSS, which in turn isn't supported everywhere either.

Although, here are some tips: https://stackoverflow.com/questions/11448556/how-to-use-blend-mode-in-svg-for-vector-shapes

(Skia's own SVG export also doesn't support blendmode it seems.)

Oh sorry, I was mixing this up with another project: drawbot-skia exclusively uses the native Skia SVG export, so this currently appears to be a limitation of the Skia library itself.