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

@@ -109,6 +109,10 @@ pub enum Primitive {
Pdfendlink,
Pdfrunninglinkoff,
Pdfrunninglinkon,
Pdfinterwordspaceon,
Pdfinterwordspaceoff,
Pdffakespace,
Pdfspacefont,
Pdfdest,
Pdfcatalog,
Pdfoutline,
@@ -990,6 +994,10 @@ impl Default for State {
("pdfendlink", Pdfendlink),
("pdfrunninglinkoff", Pdfrunninglinkoff),
("pdfrunninglinkon", Pdfrunninglinkon),
("pdfinterwordspaceon", Pdfinterwordspaceon),
("pdfinterwordspaceoff", Pdfinterwordspaceoff),
("pdffakespace", Pdffakespace),
("pdfspacefont", Pdfspacefont),
("pdfdest", Pdfdest),
("pdfcatalog", Pdfcatalog),
("pdfoutline", Pdfoutline),