Allocate dedicated PDF spaces in the native font catalog at shipout

This commit is contained in:
gloamxun committed 2026-11-21 07:11:48 +08:00
1 parent 4bd7f1e08e
commit 584b708487
11 files changed
+339 -93

No files matched your search

@@ -221,6 +221,8 @@ pub struct Executor {
pdf_running_links: bool,
pdf_interword_spaces: bool,
pdf_space_font: Option<crate::pdf_device::text_spaces::SpaceFontRequest>,
pdf_loaded_space_font: Option<Arc<crate::native_font::NativeFont>>,
pdf_space_probe: Option<Arc<page::PdfSpaceProbe>>,
#[cfg(all(target_os = "linux", target_env = "gnu"))]
pdf_last_match: Option<Arc<pdf_match::PdfMatch>>,
pdf_catalog_tokens: Vec<Token>,
@@ -387,6 +389,8 @@ impl Executor {
pdf_running_links: true,
pdf_interword_spaces: false,
pdf_space_font: None,
pdf_loaded_space_font: None,
pdf_space_probe: None,
#[cfg(all(target_os = "linux", target_env = "gnu"))]
pdf_last_match: None,
pdf_catalog_tokens: Vec::new(),