Apply native PDF page dictionaries and viewport projection

This commit is contained in:
gloamxun committed 2026-11-21 03:31:00 +08:00
1 parent a6ba70aa46
commit d1ddf4bfeb
19 files changed
+410 -40

No files matched your search

@@ -16,6 +16,8 @@ pub enum TokenParameter {
Errhelp,
Everycr,
Pdfpageresources,
Pdfpageattr,
Pdfpagesattr,
}
impl TokenParameter {
pub const ALL: &'static [Self] = &[
@@ -30,6 +32,8 @@ impl TokenParameter {
Self::Errhelp,
Self::Everycr,
Self::Pdfpageresources,
Self::Pdfpageattr,
Self::Pdfpagesattr,
];
pub fn name(self) -> String {
format!("{self:?}").to_ascii_lowercase()