Apply XDV color state and page backgrounds at shipout

This commit is contained in:
gloamxun committed 2026-11-25 20:09:15 +08:00
1 parent cc147e93d8
commit 8be7867b37
10 files changed
+590 -19

No files matched your search

@@ -225,6 +225,7 @@ pub struct Executor {
expansion_depth: usize,
io: IoState,
pdf_colors: crate::pdf_device::PdfColorStacks,
xdv_colors: crate::pdf_device::xdv_color::ColorState,
pdf_link_stack: Vec<pdf_links::ActiveLink>,
pdf_running_links: bool,
pdf_interword_spaces: bool,
@@ -399,6 +400,7 @@ impl Executor {
expansion_depth: 0,
io: IoState::default(),
pdf_colors: Default::default(),
xdv_colors: Default::default(),
pdf_link_stack: Vec::new(),
pdf_running_links: true,
pdf_interword_spaces: false,