When I needed to create multi-page PDFs from SVG, I first created single-page PDFs from SVG by launching Inkscape via system() (see imagestream.pl in App-imagestream, not yet on CPAN), and then combined the PDFs to a multi-page PDF using (I think) CAM::PDF (http://search.cpan.org/~cdolan/CAM-PDF-1.57/bin/appendpdf.pl|appendpdf.pl].

At least in Inkscape, PDF (1.1 I think) supports a wrapping textbox element. I had problems with that element rendering improperly under early Firefox versions (2.x), but as you want to deliver PDF anyway, this shouldn't be a problem.

I suppose that if your tools are not rendering the fonts properly that there is something wonky with the font setup. Maybe these applications need to be told where the fonts are to be found, or the font names need to be mangled? I've only used Inkscape as my renderer (also see uniConvertor for a headless version).


In reply to Re: Yet Another SVG to PDF Question by Corion
in thread Yet Another SVG to PDF Question by Anonymous Monk

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.