Save via cairo as ps through command line?

Post questions on how to use or achieve an effect in Inkscape.
tjacobs14450

Save via cairo as ps through command line?

Postby tjacobs14450 » Mon Dec 15, 2008 2:26 am

Hi,
I've discovered that saving my inkscape using the via cairo as ps option preserves my gradients. That's great. How do I access this option through the command line? I have a number of inkscape files that I want to keep in inkscape format, but I want to run a script that reads each file and saves as ps via cairo. I've tried the export-ps option but that doesn't seem to use the cairo renderer because the gradients get lost.

Thanks

User avatar
microUgly
Site Admin
Posts: 2985
Joined: Sat Jun 02, 2007 3:13 pm
Contact:

Re: Save via cairo as ps through command line?

Postby microUgly » Tue Dec 16, 2008 11:45 am

I know nothing about using Inkscape from the command line, but you might like to look at the docs (or even use ) svg2pdf (it uses Cairo also)

tjacobs
Posts: 1
Joined: Mon Dec 15, 2008 2:19 am

Re: Save via cairo as ps through command line?

Postby tjacobs » Tue Dec 16, 2008 11:30 pm

Thanks for the suggestion microUgly,
Unfortunately, my search for an Ubuntu version of svg2pdf has come up empty. I've downloaded the svg2pdf source code from ftp://ftp.freebsd.org/pub/FreeBSD/ports/distfiles/, but my config tells me I need libsvg-cairo. I can't seem to find that library for Ubuntu.

Any suggestions anyone?

bbyak
Posts: 64
Joined: Sun Oct 07, 2007 4:53 am

Re: Save via cairo as ps through command line?

Postby bbyak » Thu Dec 18, 2008 12:54 pm

Use the devel version. It uses cairo ps exporter everywhere now.


Return to “Help with using Inkscape”