Tuesday, May 14, 2013

pdf2svg on Centos 6.2 (powerfull toy)

To understand about pdf2svg, please visit author site on cityinthesky.co.uk and download the latest source code to compile, in my case it is pdf2svg-0.2.1.tar.gz And follow instruction there to compile the source code,
Extract it
tar -zxvf pdf2svg-0.2.1.tar.gz
Go to extracted directory
cd pdf2svg-0.2.1
Do configure
./configure --prefix=/usr/local
And make
make
in this step im not so successful, there is warning like this
pdf2svg.c:152: warning: incompatible implicit declaration of built-in function ‘free’
BUT i ignore it, just try my luck :D Final step is
make install
And check
which pdf2svg
giving me result
/usr/local/bin/pdf2svg
How to use Simple enough, just follow author website example (again)
pdf2svg pdf_testpage.pdf pdf_testpage.svg
now you can open pdf_testpage.svg on inkscape with all converted fonts (Yes !!! converted) and save it as eps file to open using Adobe Illustrator.

No comments: