Emit native PDF page resources and named transparency states

This commit is contained in:
gloamxun committed 2026-11-21 00:53:46 +08:00
1 parent 2bced813a2
commit 4f4a4567ea
23 files changed
+791 -37

No files matched your search

@@ -596,6 +596,10 @@ impl Printer<'_> {
self.literal(&format!(" {{{}}}", program.literal()));
}
}
OutputOperation::PdfObject(number) => {
self.command("pdfrefobj");
self.literal(&format!(" {number}"));
}
OutputOperation::PdfImage { image, .. } => {
self.command("pdfrefximage");
self.literal(&format!(" {}", image.id));