Ship native PDF annotations with reserved object numbers
This commit is contained in:
1 parent
975dbc8060
commit
de4bd1fa76
14 files changed
+299
-67
No files matched your search
@@ -741,6 +741,14 @@ impl Executor {
|
||||
}
|
||||
self.current = current;
|
||||
if has_link_material && for_form {
|
||||
let first = outputs.iter().find(|node| node.is_pdf_link());
|
||||
if let Some(node) = first
|
||||
&& matches!(node.operation, OutputOperation::PdfLink(
|
||||
crate::pdf_device::links::LinkNode::Annotation { .. }
|
||||
))
|
||||
{
|
||||
return Err(self.error("annotations cannot be inside an XForm", node.span));
|
||||
}
|
||||
return self.fail("PDF page links and destinations require a page shipout");
|
||||
}
|
||||
for usage in font_uses {
|
||||
|
||||
Reference in new issue
Block a user