Honor pdfTeX page box selection and inherited PDF bounds
This commit is contained in:
1 parent
58012d9397
commit
e10e0cce53
9 files changed
+227
-66
No files matched your search
@@ -1382,11 +1382,10 @@ impl State {
|
||||
self.parameters
|
||||
.insert(Parameter::Pdfpkresolution, ParameterValue::Integer(value));
|
||||
}
|
||||
pub(super) fn migrate_pdf_inclusion_errorlevel(&mut self, value: i32) {
|
||||
pub(super) fn migrate_pdf_parameter(&mut self, old: Parameter, new: Parameter, value: i32) {
|
||||
// pdfTeX updates the two eqtb values in place, keeping their save levels.
|
||||
self.parameters
|
||||
.insert(Parameter::Pdfinclusionerrorlevel, ParameterValue::Integer(value));
|
||||
self.parameters.remove(&Parameter::Pdfoptionpdfinclusionerrorlevel);
|
||||
self.parameters.insert(new, ParameterValue::Integer(value));
|
||||
self.parameters.remove(&old);
|
||||
}
|
||||
|
||||
/// Explicit host selection of the PDF driver (INITEX itself defaults to
|
||||
|
||||
Reference in new issue
Block a user