Write PDF interword spaces with actual device fonts

This commit is contained in:
gloamxun committed 2026-11-21 03:09:10 +08:00
1 parent b93d5f55da
commit 514a2d3344
24 files changed
+664 -65

No files matched your search

+1 -1
View File
@@ -326,7 +326,7 @@ impl SourceMap {
// Color controls change graphics state and occupy no geometry.
if matches!(
item,
DisplayItem::PdfColor(_) | DisplayItem::PdfImageObject(_)
DisplayItem::PdfColor(_) | DisplayItem::PdfImageObject(_) | DisplayItem::PdfTextSpace { .. }
) {
continue;
}