Apply pdfTeX line box dimensions and restore output penalties

This commit is contained in:
gloamxun committed 2026-11-29 12:49:56 +08:00
1 parent 7f51f01bd4
commit fb557c09c6
13 files changed
+151 -14

No files matched your search

@@ -542,6 +542,8 @@ impl Executor {
const XETEX_REVISION: &'static str = ".999998";
pub fn new(state: State, limits: Limits) -> Self {
let mut vertical = super::boxes::VerticalBuilder::default();
vertical.prev_depth = state.ignored_depth();
Self {
state,
limits,
@@ -594,7 +596,7 @@ impl Executor {
pdf_force_pagebox_warned: false,
input_position: None,
paragraph: None,
vertical: super::boxes::VerticalBuilder::default(),
vertical,
box_frames: Vec::new(),
box_nodes_created: 0,
material_charge: 0,