I’ve been implementing the Doc viewer feature 2 years ago. Swftools is a core part. But we’re using Windows environment, we could get the compiled package directly, namely pdf2swf.exe
.
However, when I tried to get it installed in my Ubuntu 13.10 by following this, I virtually had a hard time. Then I found this useful link, I’d rather take some note here.
It requires 2 additional libraries
jpeglib
jpeglib
can be found here. But it’s said v8+ is not compatible with current Swftools, so I installed v7.
freetype
The latest version is 2.5.2, installing it is a little tricky.
install Swftools
“rm: invalid option – o”
When you make install
Swftools, you might get this error. This bug should be fixed in 0.9.3, but I’m using 0.9.2, some workaround needs to be done.
refine swfs/Makefile
, remove below line