mirror of
https://github.com/storytold/pdfcraft.git
synced 2026-10-24 10:08:00 -06:00
M10: document annotation resource collision regression
This commit is contained in:
@@ -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] {
|
||||
|
||||
Reference in New Issue
Block a user