Skip to content

direct-page

All codes

  • Type: error
  • Kind: unsupported (valid input that lamina doesn’t implement)

What happened

The page is a direct dictionary, which ops can’t edit yet (ADR 0005 §5).

Why

Non-standard files.

How to fix

Rewrite the file so every page is an indirect object (any full rewrite by another tool does), or wait for lamina’s page-structure ops.

Example

2 0 obj << /Type /Pages /Kids [<< /Type /Page /MediaBox [0 0 612 792] >>] /Count 1 >>

The page is written inline in /Kids. Reading works (its ID is a path ID such as p2.0/Kids/0), but a rotatePage op on it fails with direct-page.

Data fields

None.