Write native pdfTeX Form XObjects

This commit is contained in:
gloamxun committed 2026-11-27 15:06:44 +08:00
1 parent 7ff988031f
commit c2d3312e5a
23 files changed
+534 -88

No files matched your search

@@ -642,6 +642,10 @@ impl Printer<'_> {
self.command("pdfrefobj");
self.literal(&format!(" {number}"));
}
OutputOperation::PdfForm { form, .. } => {
self.command("pdfrefxform");
self.literal(&format!(" {}", form.number));
}
OutputOperation::PdfImage { image, .. } => {
if image.xdv.is_some() {
self.command(if image.image.raster_frame().is_some() {