M10: document annotation resource collision regression

This commit is contained in:
Kyle Kassen
2026-10-23 16:37:10 -05:00
parent a8839bc5b1
commit 1a69e50826
+2
View File
@@ -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] {