Reuse verified Type 1 glyph and PDF subset output across edits
This commit is contained in:
1 parent
6939ff71ff
commit
11c8ad1eaa
12 files changed
+236
-11
No files matched your search
@@ -2658,7 +2658,8 @@ fn write_pdf(
|
||||
|| native_type1_parameters(program, owner_paint, owner.metrics()), glyphs);
|
||||
}
|
||||
let omit_charset = unicode.is_some_and(|options| options.omit_charset);
|
||||
let type1_references = type1_plans.write(&mut objects, compression, omit_charset, |key| {
|
||||
let font_cache = unicode.and_then(|options| options.font_cache);
|
||||
let type1_references = type1_plans.write(&mut objects, compression, omit_charset, font_cache, |key| {
|
||||
let (descriptor, name) = registry?.imported_type1_slots(key)?;
|
||||
let physical = |number| device_objects[&number] as usize;
|
||||
Some((physical(descriptor), name.map(physical)))
|
||||
|
||||
Reference in new issue
Block a user