Allocate indirect PDF import objects during native writes

This commit is contained in:
gloamxun committed 2026-11-28 00:06:51 +08:00
1 parent 5a2df6781a
commit 861c9dbfc9
14 files changed
+588 -32

No files matched your search

@@ -1765,6 +1765,9 @@ impl State {
generate_unicode: self.parameter(Parameter::Pdfgentounicode).width(),
omit_charset: self.parameter(Parameter::Pdfomitcharset).width() != 0,
omit_info: self.parameter(Parameter::Pdfomitinfodict).width() != 0,
ptex_banner_separator: (self.input_profile == super::InputProfile::TeX8Bit
&& self.parameter(Parameter::Pdfsuppressptexinfo).width() & 1 == 0)
.then(|| if self.parameter(Parameter::Pdfptexuseunderscore).width() == 0 { '.' } else { '_' }),
glyph_unicode: &self.glyph_unicode,
fonts: &self.fonts,
page_tree_attributes: &self.pdf_pages_attributes,