Skip to content

Broken XREF table incorrectly repaired #4445

@guoqikai

Description

@guoqikai

Description of the bug

page.rotation returns incorrect value

How to reproduce the bug

For this particular file:
ss.pdf
pdf = pymupdf.open(...) print(paf[0].rotation) -> 270
While the correct rotation should be 180.

PyMuPDF version

1.25.5

Operating system

MacOS

Python version

3.12

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions