Write native PDF catalogs and open actions

This commit is contained in:
gloamxun committed 2026-11-19 08:54:04 +08:00
1 parent a53d9c9bf9
commit f4b003bd27
20 files changed
+811 -40

No files matched your search

+2 -1
View File
@@ -122,12 +122,13 @@ impl GlyphUnicodeMap {
}
}
/// Parameters consumed when final font objects are written, after all shipouts.
/// Parameters and job data consumed by the PDF writer after all shipouts.
#[derive(Clone, Copy)]
pub struct PdfFinalOptions<'a> {
pub compression: i32,
pub generate_unicode: i32,
pub glyph_unicode: &'a GlyphUnicodeMap,
pub catalog: Option<&'a crate::pdf_device::catalog::PdfCatalog>,
}
#[cfg(test)]