mirror of
https://github.com/typst/typst
synced 2025-05-13 20:46:23 +08:00
Fix FontFile3
dictionary for OpenType-Fonts
This commit is contained in:
parent
90be79dc86
commit
26a427a321
@ -226,7 +226,7 @@ impl<'a> PdfExporter<'a> {
|
||||
let mut font_stream = self.writer.stream(data_ref, &data);
|
||||
|
||||
if subtype == CidFontType::Type0 {
|
||||
font_stream.pair(Name(b"Subtype"), Name(b"CIDFontType0C"));
|
||||
font_stream.pair(Name(b"Subtype"), Name(b"OpenType"));
|
||||
}
|
||||
|
||||
font_stream.filter(Filter::FlateDecode).finish();
|
||||
|
Loading…
x
Reference in New Issue
Block a user