You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi @habamax. Unfortunately prawn-svg doesn't support the stop-opacity attribute and there's no easy way to make it support it as prawn doesn't either.
There was another thing about your sample svg that prawn-svg didn't support (a gradient using an href to inherit from another gradient). I've implemented that, but it doesn't help in your specific case I'm sorry :(
Too bad inksape does simple gradients in unsupported way, but well, that is life :)
Thank you!
mogest
changed the title
Rectangle with linearGradient is not rendered (in asciidoctor-pdf)
linearGradient does not support stop-opacity attribute
Jul 4, 2020
I have created issue in asciidoctor-pdf asciidoctor/asciidoctor-pdf#1561
But not sure if it is related to asciidoctor-pdf itself.
So there is a simple box with a linear gradient created in inkscape:
asciidoctor-pdf renders it
svg-file: box-gradient.zip
Thank you!
The text was updated successfully, but these errors were encountered: