Emit native PDF literals at scan and shipout boundaries

This commit is contained in:
gloamxun committed 2026-11-21 02:03:25 +08:00
1 parent 13ab32247d
commit 432c1d2ba7
21 files changed
+264 -61

No files matched your search

+1
View File
@@ -299,6 +299,7 @@ impl SourceMap {
for (item_index, item) in page.items.iter().enumerate() {
if let DisplayItem::PdfGraphics { x, y, operation } = item {
match operation {
PdfGraphics::Literal { .. } => {}
PdfGraphics::Save => graphics_stack.push(transform),
PdfGraphics::Matrix(matrix) => {
transform =