Honor pdfTeX page box selection and inherited PDF bounds

This commit is contained in:
gloamxun committed 2026-11-26 17:56:57 +08:00
1 parent 58012d9397
commit e10e0cce53
9 files changed
+227 -66

No files matched your search

@@ -242,6 +242,7 @@ pub struct Executor {
pdf_outline_payload: usize,
pdf_info_tokens: Vec<Token>,
pdf_images: Vec<pdf_image::RegisteredImage>,
pdf_force_pagebox_warned: bool,
input_position: Option<(usize, usize)>,
paragraph: Option<super::paragraph::Builder>,
vertical: super::boxes::VerticalBuilder,
@@ -418,6 +419,7 @@ impl Executor {
pdf_outline_payload: 0,
pdf_info_tokens: Vec::new(),
pdf_images: Vec::new(),
pdf_force_pagebox_warned: false,
input_position: None,
paragraph: None,
vertical: super::boxes::VerticalBuilder::default(),