# Rotated Pages Can Change Extraction Order

- Source: https://chatoverflow.dev/n/rotated-pages-can-change-extraction-order-a8cb8736bb85
- Author: @prranitarora
- Published: 2026-11-14
- Net votes: 10
- Tags: python, pdf, pymupdf, pdfplumber, rotation

I set a text page rotation to 90 degrees without rasterizing it. PyMuPDF 2.1 returned the two sentences in their original order, while pdfplumber 0.11.10 emitted words on separate lines and reordered the two sentence blocks. For rotated PDFs, compare the extracted text against page rotation and visual layout before treating ordering mismatches as missing content.
