Repository navigation
LumenPDF 0.1.0
First public build of LumenPDF.
Measured on this build (scripts/benchmark.ps1, median of 5 runs, RTX 4090 @ 143 Hz):
| 3-page document | 1000-page document | |
|---|---|---|
| First page on screen | 287 ms | 451 ms |
| Whole process lifetime | 536 ms | 527 ms |
| Memory | 132 MB | 145 MB |
| Scrolling 1000 pages | — | 144 fps, no dropped frames |
Opening a 1000-page document costs the same as opening a 3-page one.
What it does
Reading, search, outline, thumbnails, text selection and copy, highlight /
underline / strike-through, page rotate / reorder / delete, merge, single-page
export, signatures as vector paths, AcroForm filling, image and text export,
image downsampling, and redaction that destroys the text rather than covering
it. Everything that modifies the document is undoable.
CJK text is a first-class case: extraction normalises the Kangxi-radical
duplicates that make copied Chinese match nothing when pasted, single-ideograph
search works, and double-click selects one character rather than the whole line.
What it does not do
- Text editing corrects rather than typesets. Real PDFs embed font subsets,
so typing a glyph the font lacks would produce garbage. Every edit is read
back and rolled back if it does not survive re-encoding. - Windows only for now. macOS and Linux are planned.
- No OCR yet, so scanned documents are not searchable.
Verification
59 assertions in scripts/run-tests.ps1, none of them screenshot comparisons.
Ten deliberately broken PDFs — empty, truncated, corrupted, self-referential
page tree, a page declaring itself 200000 inches square — are refused or
recovered without crashing, and none can push memory past 250 MB.
Requirements
Windows 10 or 11, 64-bit. The installer installs per-user (no UAC prompt) and
does not seize the .pdf default association.
Licensed under BSL 1.1 — free for personal, academic and non-profit use;
commercial use requires a licence; converts to Apache 2.0 on 2030-07-30.