Read file-backed PDF objects at their actual write boundary

This commit is contained in:
gloamxun committed 2026-11-21 01:02:40 +08:00
1 parent 4f4a4567ea
commit a958954308
5 files changed
+139 -17

No files matched your search

@@ -2747,7 +2747,9 @@ impl Executor {
self.current = node.span;
self.tick()?;
match &node.operation {
OutputOperation::PdfObject(number) => return self.write_pdf_object(*number),
OutputOperation::PdfObject(_) => {
return self.fail("PDF object reference requires a native PDF shipout");
}
OutputOperation::PdfImage { image, .. } => {
return self.declare_pdf_image(image.id);
}