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

+5
View File
@@ -803,6 +803,11 @@ impl Files {
paint_order.push(json!(["rule", rules.len()]));
rules.push(json!({"x": x, "y": y, "width": width, "height": height}));
}
DisplayItem::PdfForm { x, y, form } => {
paint_order.push(json!(["pdf_form", images.len()]));
images.push(json!({"x": x, "y": y, "width": form.width,
"height": form.height, "depth": form.depth, "id": form.number}));
}
DisplayItem::PdfImage {
x,
y,