Emit native PDF page resources and named transparency states

This commit is contained in:
gloamxun committed 2026-11-21 00:53:46 +08:00
1 parent 2bced813a2
commit 4f4a4567ea
23 files changed
+791 -37

No files matched your search

@@ -15,6 +15,7 @@ pub enum TokenParameter {
Output,
Errhelp,
Everycr,
Pdfpageresources,
}
impl TokenParameter {
pub const ALL: &'static [Self] = &[
@@ -28,6 +29,7 @@ impl TokenParameter {
Self::Output,
Self::Errhelp,
Self::Everycr,
Self::Pdfpageresources,
];
pub fn name(self) -> String {
format!("{self:?}").to_ascii_lowercase()