Apply pdfTeX line box dimensions and restore output penalties
This commit is contained in:
1 parent
7f51f01bd4
commit
fb557c09c6
13 files changed
+151
-14
No files matched your search
@@ -1645,6 +1645,14 @@ impl State {
|
||||
self.assign_parameter(Parameter::Pdfoutput, ParameterValue::Integer(1), true);
|
||||
self
|
||||
}
|
||||
pub(super) fn ignored_depth(&self) -> i32 {
|
||||
if self.input_profile() == super::InputProfile::XeTeX {
|
||||
super::parameters::IGNORE_DEPTH
|
||||
} else {
|
||||
self.parameter(Parameter::Pdfignoreddimen).width()
|
||||
}
|
||||
}
|
||||
|
||||
pub fn parameter(&self, parameter: Parameter) -> ParameterValue {
|
||||
self.parameters
|
||||
.get(¶meter)
|
||||
|
||||
Reference in new issue
Block a user