Support scoped XeTeX OpenType colors in PDF and SVG

This commit is contained in:
gloamxun committed 2026-11-26 11:27:13 +08:00
1 parent 5a4271364a
commit a0922d0105
10 files changed
+183 -16

No files matched your search

+1 -1
View File
@@ -817,7 +817,7 @@ impl Files {
}));
}
DisplayItem::PdfImageObject(_) | DisplayItem::PdfColor(_) | DisplayItem::PdfTextSpace { .. }
| DisplayItem::OpenTypeActualText(_) => {}
| DisplayItem::OpenTypeActualText(_) | DisplayItem::OpenTypeColor(_) => {}
DisplayItem::PdfGraphics { x, y, operation } => {
paint_order.push(json!(["pdf_graphics", graphics.len()]));
graphics.push(json!({"x": x, "y": y, "operation": operation}));