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

@@ -141,6 +141,8 @@ pub enum Parameter {
XeTeXlinebreakpenalty,
XeTeXinputnormalization,
Pdfdraftmode,
Pdfsuppressptexinfo,
Pdfptexuseunderscore,
}
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, serde::Serialize, serde::Deserialize)]
pub enum ParameterValue {
@@ -157,6 +159,8 @@ impl Parameter {
| Self::Pdfobjcompresslevel
| Self::Pdfcompresslevel
| Self::Pdfdraftmode
| Self::Pdfsuppressptexinfo
| Self::Pdfptexuseunderscore
| Self::Pdfdecimaldigits
| Self::Pdfpkresolution
| Self::Pdfimageresolution
@@ -204,6 +208,8 @@ impl Parameter {
Self::Pdfobjcompresslevel,
Self::Pdfcompresslevel,
Self::Pdfdraftmode,
Self::Pdfsuppressptexinfo,
Self::Pdfptexuseunderscore,
Self::Pdfdecimaldigits,
Self::Pdfpkresolution,
Self::Pdfimageresolution,