-
Notifications
You must be signed in to change notification settings - Fork 499
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Plantuml diagram is not correctly rendered #102
Comments
Could you provide the source of the diagram? There's a chance this has to do with a bug in the Prawn SVG support (see https://github.com/mogest/prawn-svg). We've seen similar rendering problems in the past (which have always been addressed in a timely manner with a proper example). I'll verify on my end that it's a problem embedding the diagram, then we can proceed by filing an issue upstream. |
Oh, sorry, I forgot to paste the source.
|
I generated the SVG of the diagram and then used Prawn + Prawn SVG alone to embed the SVG using the following code:
I can confirm that this is an issue with Prawn SVG because that produces the same result you are seeing. If that doesn't work, it won't work in Asciidoctor PDF. It seems like the problem is with the polygon fills. This is a great test case for Prawn SVG and it should be possible to get it resolved there. |
When you fill the issue at https://github.com/mogest/prawn-svg, be sure to link to it here so we can track the progress. |
Resolved by Prawn SVG in in version 0.17.0. |
Great news! Does this mean we need to upgrade prawn-svg in Asciidoctor PDF? (See https://github.com/asciidoctor/asciidoctor-pdf/blob/master/asciidoctor-pdf.gemspec#L43). |
I'm going to assume the answer is yes. I'll update. |
Yes need to upgrade prawn-svg. |
Update made.
|
rendered:
should be:
The text was updated successfully, but these errors were encountered: