Preserve pdfTeX text positioning across direct color changes
This commit is contained in:
1 parent
0f6aa1f33d
commit
f88a16d101
15 files changed
+193
-44
No files matched your search
@@ -362,7 +362,7 @@ impl SourceMap {
|
||||
// Color controls change graphics state and occupy no geometry.
|
||||
if matches!(
|
||||
item,
|
||||
DisplayItem::PdfColor(_) | DisplayItem::PdfImageObject(_) | DisplayItem::PdfTextSpace { .. }
|
||||
DisplayItem::PdfColor { .. } | DisplayItem::PdfImageObject(_) | DisplayItem::PdfTextSpace { .. }
|
||||
| DisplayItem::OpenTypeColor(_)
|
||||
) {
|
||||
continue;
|
||||
|
||||
Reference in new issue
Block a user