Login  Register

Re: Diagrams referenced by URL in PDF?

Posted by mojavelinux on Apr 22, 2016; 7:25am
URL: https://discuss.asciidoctor.org/Diagrams-referenced-by-URL-in-PDF-tp4623p4646.html

Great news!

wolandscat wrote:
E.g. width=%50 does strange things

You should always use pdfwidth= for images in PDFs (which you can use along with the width attribute for HTML). The units can be relative (%) or absolute (in, cm, pt, etc)
 
, some SVGs lose their text,

9/10 this is an issue with prawn-svg. See https://github.com/mogest/prawn-svg

However, before you report it there, you may want to try using the latest version of prawn-svg, which is not yet installed by default (it will be once we cut a new alpha of asciidoctor-pdf).
 
... shall I report these on the asciidoctor-pdf git tracker?

Aside from what I mentioned, yes. Though, when reporting issues in asciidoctor-pdf, it's best if you first test with the master. See https://github.com/asciidoctor/asciidoctor-pdf#development

Cheers,

-Dan

--
Dan Allen | @mojavelinux | http://google.com/profiles/dan.j.allen