Render native XeTeX PNG, JPEG and BMP graphics
This commit is contained in:
1 parent
794c2f9b2c
commit
2bd6e19519
22 files changed
+821
-120
No files matched your search
@@ -624,7 +624,11 @@ impl Printer<'_> {
|
||||
}
|
||||
OutputOperation::PdfImage { image, .. } => {
|
||||
if image.xdv.is_some() {
|
||||
self.command("XeTeXpdffile");
|
||||
self.command(if image.image.raster_frame().is_some() {
|
||||
"XeTeXpicfile"
|
||||
} else {
|
||||
"XeTeXpdffile"
|
||||
});
|
||||
self.literal(&format!(
|
||||
" \"{}\"",
|
||||
image.image.version.path.display()
|
||||
@@ -667,7 +671,7 @@ impl Printer<'_> {
|
||||
self.tokens(tokens)?;
|
||||
}
|
||||
OutputOperation::PdfSavePosition => self.command("pdfsavepos"),
|
||||
OutputOperation::Special { shipout, tokens } => {
|
||||
OutputOperation::Special { shipout, tokens, .. } => {
|
||||
self.command("special");
|
||||
if *shipout {
|
||||
self.literal(" shipout");
|
||||
|
||||
Reference in new issue
Block a user