From 1a69e508261ccb992b1cc34774be073cbea0aced Mon Sep 17 00:00:00 2001 From: Kyle Kassen <85040622+KyleKassen@users.noreply.github.com> Date: Fri, 23 Oct 2026 15:32:46 -0500 Subject: [PATCH] M10: document annotation resource collision regression --- crates/print/src/tests/appearances.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/crates/print/src/tests/appearances.rs b/crates/print/src/tests/appearances.rs index 325841987..0d3107d1d 100644 --- a/crates/print/src/tests/appearances.rs +++ b/crates/print/src/tests/appearances.rs @@ -85,6 +85,8 @@ fn xobject(doc: &Document, owner: &Dict, name: &[u8]) -> ObjRef { objects.as_dict().unwrap().get(name).unwrap().as_ref().unwrap() } +/// Printing keeps occupied page resource names and distinct annotation appearances intact, +/// whether the page resources are direct or inherited from the page tree. #[test] fn annotation_appearances_do_not_replace_page_xobjects() { for inherited in [false, true] {