I am working on a proprietary closed source C++ project that requires a built in PDF viewer. We can use open source but not GPL software. LGPL, MIT, Apache, public style licenses are OK as is any license that allows us to keep the source proprietary and closed. I have had a hard time finding a solution that is either not expensive, restrictive or both.
PoDoFo handles parsing but not display
ImageMagick can convert PDF to image but not help with allowing for text selection and hyperlinks.
Poppler is perfect functionality wise but is GPL so I can't use it
Am I missing something? What do you do when you need PDF in a proprietary C++ application?
pdfium is a library developped by Google and used within Chromium to render PDFs.
Building it from source can be tricky, but there is a binary distribution on Github provided by a third party developer. The project on Github also supplies the scripts used to generate the binaries and one needs only to provide values to a few parameters to build the library themself.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With