Restore PDF Forms from native formats

This commit is contained in:
gloamxun committed 2026-11-27 15:31:24 +08:00
1 parent c2d3312e5a
commit 57a7097857
12 files changed
+300 -87

No files matched your search

+3 -1
View File
@@ -743,7 +743,9 @@ impl Execution {
Error::at(&self.sources, self.state.input_profile(), message, form.canvas.box_node.span)
})?;
list.pdf_resources.attributes = form.attributes.clone().into();
forms.push(crate::pdf_device::forms::FormDisplay { form: form.form, list });
forms.push(crate::pdf_device::forms::FormDisplay {
form: form.form, resource_number: form.resource_number, list,
});
}
if let Event::Shipout(b) = e {
pages.push(b.display_list().map_err(|message| {