Include PDF graphics in the native XeTeX device
This commit is contained in:
1 parent
facecbf790
commit
794c2f9b2c
19 files changed
+545
-37
No files matched your search
@@ -343,7 +343,10 @@ impl SourceMap {
|
||||
match operation {
|
||||
PdfGraphics::Literal { .. } => {}
|
||||
PdfGraphics::Save => graphics_stack.push(transform),
|
||||
PdfGraphics::Matrix(matrix) => {
|
||||
PdfGraphics::Matrix(matrix) | PdfGraphics::SaveMatrix(matrix) => {
|
||||
if matches!(operation, PdfGraphics::SaveMatrix(_)) {
|
||||
graphics_stack.push(transform);
|
||||
}
|
||||
transform =
|
||||
transform.concatenate(matrix.about(*x as f64, *y as f64, true));
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user