Skip to content
프로젝트

소개

PDFium - PDFium 라이브러리를 여러 플랫폼용으로 컴파일하는 프로젝트입니다.

생산성 및 자동화

이 수치를 측정하는 방법

측정된 스타 증가

in 24h
0
in 7 days
0
in 15 days
-1
in 1 month
-2

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

README.md

Original

PDFium Library Logo

PDFium Library

PDFium - iOS PDFium - macOS PDFium - Android PDFium - Linux PDFium - Windows PDFium - WASM

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:

https://pdfviewer.github.io

Or with a public PDF as parameter:

https://pdfviewer.github.io/?title=Demo%20PDF%20with%201MB&url=https://raw.githubusercontent.com/mozilla/pdf.js-sample-files/master/tracemonkey.pdf

Requirements

  1. Ninja Build
  2. Python 3
  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.

  1. Get the source:
git clone https://github.com/paulocoutinhox/pdfium-lib.git
cd pdfium-lib
  1. Install PIP requirements:
python3 -m pip install -r requirements.txt
  1. Get Google Depot Tools:
python3 make.py build-depot-tools
export PATH=$PATH:$PWD/build/depot-tools

Obs:

  • The file make.py need be executed with Python version 3.
  • These steps you only need make one time.
  • If you want change pdfium git branch, edit file modules/config.py and 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.

Buy Me a Coffee at ko-fi.com

My other projects

License

This license informations is about this personal project, not the Google PDFium Library.

MIT

Copyright (c) 2018-2026, Paulo Coutinho

관련 프로젝트 살펴보기

불러오는 중…