Handle unclaimed XeTeX specials at shipout

This commit is contained in:
gloamxun committed 2026-11-28 06:04:09 +08:00
1 parent e2af618e65
commit 885911485e
10 files changed
+273 -21

No files matched your search

+1
View File
@@ -812,6 +812,7 @@ impl DisplayList {
DisplayItem::PdfGraphics { x, y, operation } => {
use crate::pdf_device::PdfGraphics;
match operation {
PdfGraphics::TextBoundary => {}
PdfGraphics::Literal { .. } => unreachable!("PDF literal requires PDF rendering"),
PdfGraphics::Save | PdfGraphics::Matrix(_) | PdfGraphics::SaveMatrix(_) => {
if matches!(operation, PdfGraphics::Save | PdfGraphics::SaveMatrix(_)) {