Closed jwright6323 closed 1 year ago
You are correct that there are limitations in prawn-svg with regard to gradients. As this is a library that Asciidoctor PDF integrates with, there is nothing we can do here to improve the support. That change must occur in prawn-svg. If there is a new version of prawn-svg that expands its support for SVG features, you may request that Asciidoctor PDF upgrade to that version. Until then, it's an upstream issue.
Gist: https://gist.github.com/jwright6323/666747665d920d6bc294959be24f6822
I have recently started to use Asciidoctor to automate the creation of technical specifications within my team. I am very happy with the productivity boost- thank you for your work on this!
I noticed that some SVG images with gradients are rendered incorrectly based on their location on the page. I am not familiar enough with the inner workings of asciidoctor-pdf or prawn-svg to know where the bug may be, but it seems related to mogest/prawn-svg#122. I've included a Gist above with the test case.