Emit native PDF literals at scan and shipout boundaries
This commit is contained in:
1 parent
13ab32247d
commit
432c1d2ba7
21 files changed
+264
-61
No files matched your search
@@ -75,11 +75,11 @@ impl NativeShipout {
|
||||
return;
|
||||
}
|
||||
boxes::GeometryItem::PdfGraphics { x, y } => {
|
||||
if let Some(&operation) = graphics_steps.next() {
|
||||
if let Some(operation) = graphics_steps.next() {
|
||||
page.items.push(DisplayItem::PdfGraphics {
|
||||
x: self.device.horizontal_origin + x,
|
||||
y: self.device.vertical_origin + self.box_node.height + y,
|
||||
operation,
|
||||
operation: operation.clone(),
|
||||
});
|
||||
} else {
|
||||
missing_graphics_step = true;
|
||||
|
||||
Reference in new issue
Block a user