Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid

Re: Yet Another SVG to PDF Question

by Corion (Pope)
on Jan 30, 2012 at 08:09 UTC ( #950717=note: print w/ replies, xml ) Need Help??

in reply to Yet Another SVG to PDF Question

When I needed to create multi-page PDFs from SVG, I first created single-page PDFs from SVG by launching Inkscape via system() (see in App-imagestream, not yet on CPAN), and then combined the PDFs to a multi-page PDF using (I think) CAM::PDF (|].

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).

Comment on Re: Yet Another SVG to PDF Question
Download Code

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://950717]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (4)
As of 2015-11-26 18:24 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (705 votes), past polls