ZPDF-CORE // EMBEDDABLE PDF ENGINE

// pure-Rust parse · edit · annotate · sign — the core behind zpdf, embeddable in any host GUI

zpdf-core is the embeddable engine behind zpdf, the cyberpunk PDF editor that replaces Adobe Acrobat. Its modules own the PDF object model and the operations on it — editing, page assembly, rasterizing, OCR, annotation, forms, signatures, encryption, prepress, and the analysis passes (copy-fidelity, redaction-leak, revision archaeology) — plus an in-file content-addressed version history. The Rust crate carries no GUI and no platform dependencies; the mountable viewer GUI ships beside it in frontend/, so the desktop app and every embed (traderview and the other MenkeTechnologies apps) share the exact same code. Backed by lopdf (pure Rust, MIT): no PDFium C++ blob, no MuPDF AGPL — clean to ship inside a paid, closed-source host.

Embeddable

In-memory from_bytes / to_bytes so a host that already holds the buffer never touches disk. A GUI component mounts into host Tauri apps.

Pure Rust

One dependency for the PDF layer (lopdf, MIT). Durable, vendorable, no native toolchain, no copyleft.

Honest Coverage

The port report derives feature status from source — a capability is "done" only when a real, non-stub engine symbol exists.

Quick start

use zpdf_core::Pdf;

let mut pdf = Pdf::open("in.pdf")?;
println!("{} pages, v{}", pdf.page_count(), pdf.version());
println!("{}", pdf.extract_all_text()?);
pdf.rotate_page(1, 90)?;
pdf.add_note(1, [72.0, 720.0, 92.0, 740.0], "review this")?;
pdf.save("out.pdf")?;

Where it goes next

See the feature port report for the full Adobe-Acrobat / Preview surface and what is implemented today, and the engineering report for module and test status.