paulocoutinhox/pdfium-lib
概要
PDFium - PDFium ライブラリを複数のプラットフォーム向けにコンパイルするプロジェクトです。
仕事効率化・自動化計測したスター増加
- 24時間
- 0
- 7日間
- 0
- 15日間
- -1
- 1か月
- -2
期間ごとの純増数です。期間は重複しており、日別の値ではありません。未計測の値は空欄です。スター数は注目度の指標であり、品質の保証ではありません。
README.md
オリジナルPDFium Library
Project to compile PDFium library to multiple platforms.
Platforms
This project currently compiles to these platforms:
- iOS device (arm64)
- iOS simulator (x86_64, arm64)
- Android (armv7, armv8, x86, x86_64)
- macOS (x86_64, arm64)
- Linux (x86_64)
- Windows (x86_64)
- WASM (Web Assembly)
Obs: PDFium project is from Google and i only patch it to compile to all platforms above. Check all oficial details and PDFium license here:
https://pdfium.googlesource.com/
Web demo
Since this project generate WASM version, i published a demo that you can test PDFium direct on web browser here:
Or with a public PDF as parameter:
Requirements
- Ninja Build
- Python 3
- PIP
Obs: Generally Python 3 already come with PIP installed. Check it with command python3 -m pip --version.
How to compile
These are the general steps that need be executed before all others platforms steps.
- Get the source:
git clone https://github.com/paulocoutinhox/pdfium-lib.git
cd pdfium-lib
- Install PIP requirements:
python3 -m pip install -r requirements.txt
- Get Google Depot Tools:
python3 make.py build-depot-tools
export PATH=$PATH:$PWD/build/depot-tools
Obs:
- The file
make.pyneed be executed with Python version 3. - These steps you only need make
onetime. - If you want change
pdfiumgit branch, edit filemodules/config.pyand others places with same branch name.
How to compile for iOS
Check tutorial here: Build for iOS
How to compile for macOS (with Apple Silicon - M1)
Check tutorial here: Build for macOS
How to compile for Linux
Check tutorial here: Build for Linux
How to compile for Windows
Check tutorial here: Build for Windows
How to compile for Android
Check tutorial here: Build for Android
How to compile for WASM
Check tutorial here: Build for WASM
Prebuilt binary
Access releases page to download prebuilt binaries:
https://github.com/paulocoutinhox/pdfium-lib/releases
How to include files and extend pdfium
Check tutorial here: How to include files
Buy me a coffee
Support the continuous development of this project.
My other projects
- XPLPC - Cross Platform Lite Procedure Call: https://github.com/xplpc/xplpc
- IonClaw - A cross-platform AI agent orchestrator in C++ that turns any device — including your phone — into a self-contained, multi-agent automation platform: https://github.com/ionclaw-org/ionclaw
License
This license informations is about this personal project, not the Google PDFium Library.
Copyright (c) 2018-2026, Paulo Coutinho
関連プロジェクトを探す
読み込み中…