Restore registered pdfTeX images from native formats

This commit is contained in:
gloamxun committed 2026-11-27 13:32:22 +08:00
1 parent 1307bbcf0c
commit c2f18f50dc
14 files changed
+667 -49

No files matched your search

+2 -6
View File
@@ -1344,12 +1344,8 @@ fn dump_format_observed(
let trace = files.resource_trace();
// Keep the completed kernel result available if format validation/encoding
// fails. This extra offline copy is not part of interactive compilation.
let bytes = FormatImage::from_dump(
execution.execution.clone(),
trace.reads.clone(),
trace.stream_reads.clone(),
)?
.encode()?;
let bytes = FormatImage::from_dump_with_trace(execution.execution.clone(), trace)?
.encode()?;
evidence.phase = AttemptPhase::Finishing;
let finished = files.finish();
let reported = report(&files, &request);