Files
pdfcraft/crates/engine/src/session
Dylan M. Taylor 69936f1d1f fix(engine): run the renderer redaction check on redactions applied inside a batch (#5977)
* fix(engine): run the renderer redaction check on redactions applied inside a batch

* Resolve redaction marks by page object and measure the edited document

The renderer check looked marks up by the page index they had when they
were drawn, so a MovePages later in the same batch pointed them at another
page's text, and it measured glyphs with page geometry from before the edit.

Each mark now carries the page object it was placed on, and the geometry is
read back from the document as the batch wrote it.

* review: skip marks whose page the batch deleted

* review: group marks by page once and refuse an ambiguous page tree

* address review: refuse a batch that deletes a marked page while adding pages

* merge main, keep both

* address review: a batch that applies redactions and then copies a page is refused
2026-11-11 15:50:56 -05:00
..