Last Updated: February 25, 2016
·
2.928K
· drgorb

convert SVG to PDF

if you have an SVG with text which you want to convert to PDF for sharing with others then inkscape is your friend.

you can use the GUI to give you hints on how to format the SVG and there is a command line tool to create PDF files without the GUI: inkscape --without-gui --file=foo.svg --export-pdf=foo.pdf

on mac I had to give the whole path to the inkscape executable because it would not work without:
/Applications/Inkscape.app/Contents/Resources/bin/inkscape --without-gui --file=foo.svg --export-pdf=foo.pdf