Static PDFium libraries for macOS, Linux, Windows and WebAssembly.
Built from pdfium.googlesource.com via GitHub Actions.
Go to Releases and download the .a / .lib for your platform.
Each release is tagged with the chromium branch number (e.g. chromium/7543).
- Go to Actions > Build PDFium
- Click Run workflow
- Enter the chromium branch number (e.g.
7543) - Wait ~15min for the build to complete
- A release is created automatically with the static libraries
Match the pdfium_XXXX feature flag to the branch number:
# For chromium/7543
pdfium-render = { version = "0.8", features = ["static", "pdfium_7543"] }Libraries are built with:
- No V8 JavaScript engine
- No XFA support
- Complete static library (
pdf_is_complete_lib = true) - Release mode, no debug symbols
The WASM build additionally patches PDFium's build system to support Emscripten as a target (see scripts/patch-wasm.py).