Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

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


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

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (13)
As of 2014-09-30 12:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (368 votes), past polls