PdfCraft: An open-source PDF reader and editor written by scratch in pure Rust
M2: refresh CropBox text clipping after upstream cleanup
jonathanwxh-cell2e880a84ed07
diff --cc ROADMAP.mdindex b4852f1a5,ee84a1111..f577061c1--- a/ROADMAP.md+++ b/ROADMAP.md@@@ -160,9 -161,7 +161,10 @@@ Ranked; detail and the full milestone t| 8 | 1.0 polish: performance, right-to-left, missing languages, keyboard-only (M14) | 55–95 |## Progress log- - **2026-10-18 (M2, PR #2838 refresh):** Integrated upstream main while preserving CropBox text clipping, rotated/UserUnit and ActualText coverage, the CLI regression and the asynchronous OS-open fixture fix. Estimates unchanged.++- **2026-10-18 (M2, PR #2838 refresh):** Integrated upstream `d8b27058` while preserving CropBox text clipping, rotated/UserUnit and ActualText coverage, the CLI regression and the asynchronous OS-open fixture fix. Estimates unchanged.++- **2026-10-16 (M3, PR #2838 CI):** The OS-open regression keeps its synthetic file until asynchronous preparation opens its tab, then verifies the original one-tab, filename and quit behavior. A controlled worker delay reproduced the old zero-tab failure. CropBox behavior and estimates unchanged.+ - **2026-10-18 (M8, #1350):** Integrated current main while preserving content-stream comment boundaries. Hidden-text cleanup retires unused named replacement descriptions on rewritten pages and forms, including inherited/shared resource holders, without removing descriptions still used by surviving content. Synthetic saved-byte and preservation regressions cover the cleanup. Estimates unchanged.- **2026-10-15 (M6, AcroForm XML text):** Plain AcroForm XML imports retain all direct text around comments and processing instructions, including CDATA and character references. Synthetic regressions verify exact values and unknown catalog data after incremental and full save/reopen. Nested-element and XFA interpretation are unchanged. Estimates unchanged.- **2026-10-15 (M6, #1917 refresh):** Integrated upstream `99941daa` while retaining the XML/XFDF attribute whitespace correction and all upstream progress. Only independent documentation conflicts required resolution; focused production and test files are unchanged from the previously green CI head. Estimates unchanged.- **2026-10-15 (M1, #2267 refresh):** Integrated upstream `99941daa` while retaining the raw-deflate fallback correction and all upstream progress. Only independent documentation conflicts required resolution; focused production and test files are unchanged from the previously green CI head. Estimates unchanged.