I need to embed a PDF viewer in my application. Is there any free software I can use?
Thanks.
I need to embed a PDF viewer in my application. Is there any free software I can use?
Thanks.
You could use libpopler, which is based on xpdf. There is a QT frontend, if you're already using that.
There is also ghostscript, which can render PDFs (and Postscript, of course). Generally, I'd prefer popler, as popler seems faster.
There is MuPDF, which is also an Artifex product.
Popler is under the GPL version 2 (or later, I believe). The newest versions of Ghostscript are GPL 3, but you can get commercial licenses to it (or at least older versions) from Artifex. MuPDF is GPL as well, with commercial licenses available from Artifex.
There is a list of development libraries on wikinfo. The only free PDF viewing libraries currently on there (MuPDF and Poppler) are GPL licensed so you cannot use them if your application is commercial.