Execute positioned TeX specials through native PDF devices
This commit is contained in:
1 parent
05e633bb14
commit
ce8a780031
21 files changed
+519
-29
No files matched your search
@@ -654,10 +654,18 @@ impl Printer<'_> {
|
||||
PdfLiteralMode::Origin => {}
|
||||
PdfLiteralMode::Page => self.literal(" page"),
|
||||
PdfLiteralMode::Direct => self.literal(" direct"),
|
||||
PdfLiteralMode::XdvOrigin | PdfLiteralMode::XdvDirect => {}
|
||||
}
|
||||
self.tokens(tokens)?;
|
||||
}
|
||||
OutputOperation::PdfSavePosition => self.command("pdfsavepos"),
|
||||
OutputOperation::Special { shipout, tokens } => {
|
||||
self.command("special");
|
||||
if *shipout {
|
||||
self.literal(" shipout");
|
||||
}
|
||||
self.tokens(tokens)?;
|
||||
}
|
||||
OutputOperation::PdfSetMatrix(tokens) => {
|
||||
self.command("pdfsetmatrix");
|
||||
self.tokens(tokens)?;
|
||||
|
||||
Reference in new issue
Block a user