Reuse decoded Type 1 fonts across native revisions
This commit is contained in:
1 parent
6e573dc1ce
commit
361e8d070f
4 files changed
+170
-31
No files matched your search
+2
-1
@@ -569,6 +569,7 @@ pub struct NativeCompiler {
|
||||
jobs: Arc<Mutex<()>>,
|
||||
draft_sync: Arc<DraftSyncQueue>,
|
||||
format_cache: Arc<FormatCache>,
|
||||
font_cache: Arc<texrra_tex_core::native_font::NativeFontCache>,
|
||||
line_break_cache: Arc<texrra_tex_core::execution::LineBreakCache>,
|
||||
entry_checkpoints: Option<Arc<CheckpointCache>>,
|
||||
}
|
||||
@@ -1083,7 +1084,7 @@ impl CompileJob {
|
||||
files.write_layout_manifest(path, e, &pages, &source_map)?;
|
||||
}
|
||||
evidence.phase = AttemptPhase::Fonts;
|
||||
let fonts = texrra_tex_core::native_font::resolve_native_fonts(&mut pages, files);
|
||||
let fonts = self.compiler.font_cache.resolve(&mut pages, files);
|
||||
let reported = report(files, &request);
|
||||
if let Err(error) = fonts {
|
||||
if let Err(report) = reported {
|
||||
|
||||
Reference in new issue
Block a user