# Vendor provenance PDFium WASM release: **8046d** Source release: https://github.com/paulocoutinhox/pdfium-lib/releases/tag/8046d Archive: https://github.com/paulocoutinhox/pdfium-lib/releases/download/8046d/wasm.zip Files extracted without modification from `release/node/`. PDFium license: BSD-style, https://pdfium.googlesource.com/pdfium/+/refs/heads/main/LICENSE Build packaging: https://github.com/paulocoutinhox/pdfium-lib SHA-256: ```json { "pdfium.js": "dcf13c22de5692ac8348f045e88ed5fd484e9841c694bfbe3e56d7faff8aae1a", "pdfium.wasm": "beeaf5bbff216d555fecec7cd486072838c4632a2272d31b52ef1fd05008fe7c", "qrcode.js": "18ae399f81182bc9de916e9c77b195df20cc58d6f2d55a62b085a299f1bf1780" } ``` `qrcode.js`: qrcode-generator 1.4.4 (Kazuhiko Arase, MIT), https://github.com/kazuhikoarase/qrcode-generator, unmodified. Draws the pairing code of "Başka cihazdan al". The synthetic sample.pdf is generated by tests/create_fixture.py; no user documents are included. Original Deste licensing and notice files are retained. Third-party notices for the shipped bundle are listed in `THIRD-PARTY.md`; the bundle itself is distributed under the closed-test notice in `LICENSE`, not under an open-source license. ## Rust dependency patches `vendor/pdfium-render`: crates.io 0.9.4, MIT OR Apache-2.0. `vendor/winit`: crates.io 0.30.13, Apache-2.0. `vendor/i-slint-common`: crates.io 1.19.1 (Slint licence), only the embedded fallback font replaced by a subset of Inter (SIL OFL 1.1). Original license files retained in each dependency directory. Narrow web fixes documented in `vendor/PATCHES.md`. These are third-party dependency snapshots, not copies of RustPrinter or RustPdfCompressor. ## Compression WASM `web/compressor` is compiled from the adjacent RustPdfCompressor sources, using Emscripten SDK 4.0.15, official https://github.com/emscripten-core/emsdk. See `compressor/Cargo.lock` for pinned Rust/OpenJPEG dependencies; no application engine sources are copied into this extension. `COMPRESSION.md` documents the build and limits. OpenJPEG is BSD-2-Clause, jbig2enc-rust is MIT OR Apache-2.0; source license notices remain in their original dependency/source directories. ## OCR files (`web/ocr/`, generated by `build-ocr.sh`, not committed) Loaded by the browser only when the user asks for a text layer or a text-only PDF. - `tesseract-core-lstm.{js,wasm}`, `tesseract-core-simd-lstm.{js,wasm}`: npm `tesseract.js-core@7.0.0` (https://github.com/naptha/tesseract.js-core, Apache-2.0), copied without modification. Only the core; tesseract.js itself is not used. - `tur.traineddata.gz`: `tur.traineddata` from https://github.com/tesseract-ocr/tessdata_fast (Apache-2.0), the model the desktop uses; gzip -9 -n, content unchanged. - `LiberationSans-Regular.ttf`: `RustPrinter/assets/fonts/` (SIL OFL 1.1), the desktop's text-PDF font. Input SHA-256 (checked by `build-ocr.sh`): ``` 6510efc4e8b45c5465df30679b9911ffe0071cd2ee982fa064e6f5136ef2de85 tesseract-core-lstm.js 66b17df6e20c5329a17ffa9c202a47eaa3e32500b253d4c7f38e7f2bc01457c3 tesseract-core-lstm.wasm e48e2f02ddae3716c8dd24bf41cd290d4efa96892d689cdc4013c2545d63f469 tesseract-core-simd-lstm.js 34e8d50cac216427d86bf397d610fdd9f49492539bbcdfbfccc4eda20c810bea tesseract-core-simd-lstm.wasm 7393381111e1152420fc4092cb44eef4237580d21b92bf30d7d221aad192c6b7 tur.traineddata baccc64becc3eb7d104b7c84d99f5314a0a1f896e2b3ea6c2f22fc08d2003bee LiberationSans-Regular.ttf ``` `ocr/surum.json` lists the shipped files with their SHA-256; the worker verifies every download (and every browser-cache hit) against it.