Pdfium library

Everything else that doesn't fall into one of the other PB categories.
Hadrianus
User
User
Posts: 34
Joined: Wed Mar 27, 2013 11:31 pm

Pdfium library

Post by Hadrianus »

Google's opensource Pdfium seems to be a promising library for bringing a real PDF viewer inside an PB application on all OS. It has Foxit software inside. But inspite of being opensource, I can not find understandable documentation and code, except for pages about wxWidgets and their use of Pdfium. Has anyone think about this library too? Where to start?
User avatar
fsw
Addict
Addict
Posts: 1572
Joined: Tue Apr 29, 2003 9:18 pm
Location: North by Northwest

Re: Pdfium library

Post by fsw »

Never heard of Pdfium before so I looked it up.

Here are 2 github repos that might be of help:
https://github.com/hfiguiere/pdfium
https://github.com/pvginkel/PdfiumViewer

In github repo PdfiumViewer under PdfiumViewer/Libraries/Pdfium/ there are Windows DLLs ready to be used.
PdfiumViewer itself is written in C# and Pdfium is written in C++.

Unless the DLLs are built to be used with C you might have a hard time to use them with PureBasic.

I am to provide the public with beneficial shocks.
Alfred Hitshock
User avatar
Mohawk70
Enthusiast
Enthusiast
Posts: 400
Joined: Thu May 11, 2006 1:04 am
Location: Florida, USA

Re: Pdfium library

Post by Mohawk70 »

Thanks for posting that !
Hadrianus
User
User
Posts: 34
Joined: Wed Mar 27, 2013 11:31 pm

Re: Pdfium library

Post by Hadrianus »

fsw wrote:Never heard of Pdfium before so I looked it up.

Here are 2 github repos that might be of help:
https://github.com/hfiguiere/pdfium
https://github.com/pvginkel/PdfiumViewer

In github repo PdfiumViewer under PdfiumViewer/Libraries/Pdfium/ there are Windows DLLs ready to be used.
PdfiumViewer itself is written in C# and Pdfium is written in C++.

Unless the DLLs are built to be used with C you might have a hard time to use them with PureBasic.
That's right. That's also one of the reason I posted this subject. Pdfium seems to be very promising, but there's total lack of decent information from de Pdfium side (I know all about these downloads in Github, but even Github is a complete disaster itself).

Also from PB side there is lack of information about Interface, Import, Library, etc. I miss good examples and explanation. Over the years many times this subject passed this forum, but only for experts in their expertlanguage, not for common PB-users, like me.
Post Reply