Honor XeLaTeX page dictionaries and named rectangle coordinates

This commit is contained in:
gloamxun committed 2026-11-28 18:36:52 +08:00
1 parent e14361fec6
commit e20acc3eb9
10 files changed
+403 -71

No files matched your search

@@ -92,7 +92,7 @@ impl Executor {
}).map_err(|error| self.error(error, special.span))?;
self.check_cancellation()?;
let navigation = Arc::make_mut(self.state.xdv_navigation.get_or_insert_with(Default::default));
navigation.apply_object(command, operands.len().saturating_add(size), self.limits.tokens)
navigation.apply_object(command, position.page, operands.len().saturating_add(size), self.limits.tokens)
}.map_err(|error| self.error(error, special.span))?;
for warning in warnings {
files.observe_diagnostic(WriteDestination::TerminalAndLog, &warning)