📰 Binary distribution of PDFium
The developer of this repository has not created any items for sale yet. Need a bug fixed? Help with integration? A different license? Create a request here:
This project hosts pre-compiled binaries of the PDFium library.
See Releases page to download binaries.
Here are the download links for latest release:
|Platform||PDFium||PDFium with V8 and XFA|
|Windows 32-bit||pdfium-windows-x86.zip (2 MB)||pdfium-windows-x86-v8.zip (12 MB)|
|Windows 64-bit||pdfium-windows-x64.zip (2 MB)||pdfium-windows-x64-v8.zip (12 MB)|
|Linux||pdfium-linux.tgz (6 MB)||pdfium-linux-v8.tgz (37 MB)|
|macOS||pdfium-darwin.tgz (6 MB)||pdfium-darwin-v8.tgz (42 MB)|
PDFium_DIRto this folder (eg
Then link you executable with PDFium:
On Windows, make sure that
pdfium.dllcan be found by your executable.
If you are using the V8 enabled binaries additional initialization is required. In your code before using PDFium you have to call
FPDF_InitEmbeddedLibraries()from the additional header
fpdf_libs.hwhich is only available in V8 enabled binaries.
The archive will contain a
resfolder which you have to distribute with your application. On macOS you should include this in your application bundle for other platforms place it where your application binary will find it.
See the following example for usage:
... // Determine the path to files in the res folder from the archive const char* resPath = "<path to the res folder>"; // Initialize V8 and other embedded libraries FPDF_InitEmbeddedLibraries(resPath); // Make use of PDFium FPDF_InitLibrary(); FPDF_DestroyLibrary();
This project isn't affilated with Google nor Foxit.