Handle unclaimed XeTeX specials at shipout
This commit is contained in:
1 parent
e2af618e65
commit
885911485e
10 files changed
+273
-21
No files matched your search
@@ -153,6 +153,9 @@ impl PdfProjection {
|
||||
return None;
|
||||
}
|
||||
self.text_active = false;
|
||||
if matches!(operation, PdfGraphics::TextBoundary) {
|
||||
return None;
|
||||
}
|
||||
let native = self.units == DisplayUnits::TeX && !self.xdv;
|
||||
if native {
|
||||
self.move_origin([x, y]);
|
||||
@@ -174,7 +177,9 @@ impl PdfProjection {
|
||||
let [x, y] = if native { [0, 0] } else { [x, y] };
|
||||
self.concatenate(matrix.about(x as f64, y as f64, false));
|
||||
}
|
||||
PdfGraphics::Literal { .. } => unreachable!("handled before typed graphics"),
|
||||
PdfGraphics::Literal { .. } | PdfGraphics::TextBoundary => {
|
||||
unreachable!("handled before graphics transforms")
|
||||
}
|
||||
}
|
||||
return None;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user