Resolve expandable PDF page references to shipped page objects

This commit is contained in:
gloamxun committed 2026-11-21 01:25:00 +08:00
1 parent 5c2ba9fad0
commit 307303d596
12 files changed
+187 -27

No files matched your search

@@ -326,6 +326,7 @@ pub enum Primitive {
Pdfsetrandomseed,
Pdfuniformdeviate,
Pdfnormaldeviate,
Pdfpageref,
}
impl Primitive {
@@ -380,6 +381,7 @@ impl Primitive {
| Pdflastmatch
| Pdfuniformdeviate
| Pdfnormaldeviate
| Pdfpageref
| Pdfcolorstackinit
| Csname
| Unless
@@ -962,6 +964,7 @@ impl Default for State {
("pdfsetrandomseed", Pdfsetrandomseed),
("pdfuniformdeviate", Pdfuniformdeviate),
("pdfnormaldeviate", Pdfnormaldeviate),
("pdfpageref", Pdfpageref),
("pdfcolorstack", Pdfcolorstack),
("pdfsave", Pdfsave),
("pdfstartlink", Pdfstartlink),