Honor PDF draft mode in native execution and publication
This commit is contained in:
1 parent
af19a26c23
commit
f14669ae39
13 files changed
+206
-30
No files matched your search
@@ -124,7 +124,9 @@ pub fn painted_text(items: &[texrra_tex_core::HorizontalItem]) -> String {
|
||||
}),
|
||||
MathItem::Rule { .. } => {}
|
||||
MathItem::Glyph { .. } => panic!("legacy font in native test material"),
|
||||
MathItem::PdfImage(_) => panic!("PDF image in a DVI fixture"),
|
||||
MathItem::PdfImage(_) | MathItem::PdfForm(_) => {
|
||||
panic!("PDF image or Form in a DVI fixture")
|
||||
}
|
||||
MathItem::OpenType(_) => panic!("OpenType paint in a classic DVI fixture"),
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user