Preserve pdfTeX text positioning across direct color changes

This commit is contained in:
gloamxun committed 2026-11-26 15:19:17 +08:00
1 parent 0f6aa1f33d
commit f88a16d101
15 files changed
+193 -44

No files matched your search

+4
View File
@@ -427,6 +427,10 @@ pub(crate) fn plan_spaces(
..
},
..
}
| DisplayItem::PdfColor {
mode: PdfLiteralMode::Direct,
..
} => {
NativeText::break_string(&mut text, &mut out);
}