Support unembedded pdfTeX Type 1 device fonts in export and preview

This commit is contained in:
gloamxun committed 2026-11-28 03:44:29 +08:00
1 parent 60d67bbb7b
commit c0970bdbf6
10 files changed
+466 -34

No files matched your search

+1 -1
View File
@@ -41,7 +41,7 @@ struct Encoding<'a> {
names: BTreeMap<u8, &'a str>,
}
/// A single encoding read is shared by all mapped CFF fonts that use it.
/// Fonts using the same encoding resource share its PDF encoding dictionary.
#[derive(Default)]
pub(super) struct Encodings<'a>(HashMap<&'a ResourceVersion, Encoding<'a>>);