Inject raw PDF specials from display lists

This commit is contained in:
gloamxun committed 2026-10-20 18:15:42 +08:00
1 parent da7f580bf0
commit eac5bd649a
4 files changed
+32

No files matched your search

+4
View File
@@ -70,6 +70,10 @@ fn page_content(list: &DisplayList, height: i64, image_names: &BTreeMap<usize, S
}
}
DisplayItem::Link { .. } => {}
DisplayItem::Special(special) => {
content.push_str(special);
content.push('\n');
}
}
}
content.push_str("Q\n");