Apply e-TeX line penalty arrays to native pagination

This commit is contained in:
gloamxun committed 2026-11-28 13:44:30 +08:00
1 parent 09cd19594c
commit c094d9a81d
12 files changed
+243 -24

No files matched your search

+2 -1
View File
@@ -95,7 +95,7 @@ pub use rule::NativeRule;
pub use session::{
NativeSession, RevisionError, RevisionExecution, RevisionFailure, RevisionJob, SourceVersion,
};
pub use state::{CommandName, Macro, Meaning, Primitive, Profile, Replacement, State};
pub use state::{CommandName, LinePenaltyKind, Macro, Meaning, Primitive, Profile, Replacement, State};
#[derive(
Clone, Copy, Debug, PartialEq, Eq, PartialOrd, Ord, Hash, serde::Serialize, serde::Deserialize,
@@ -487,6 +487,7 @@ pub enum Dependency {
FontResources,
ParagraphMode,
ParagraphShape,
LinePenalties(LinePenaltyKind),
PreviousParagraphLines,
Hyphenation,
BoxRegister(u16),