Rotation in the PDF model
PDF viewers honor a Rotate entry in each page dictionary. Rotating through a proper tool updates that metadata and adjusts the display matrix without re-encoding text and images from scratch. Content streams stay intact; only orientation changes.
That distinction matters for quality. Screenshotting a sideways page and inserting it as an image would blur text. Metadata rotation keeps vectors sharp and searchable text aligned for copy-paste.
Rotations accumulate in 90-degree steps. Two 90° turns equal 180°. Some tools normalize rotation to 0–270; others store equivalent values—both display the same in compliant readers.
Crop boxes and media boxes interact with rotation in advanced layouts—most office PDFs use defaults where simple rotation suffices without manual box editing.
Batch jobs from copiers sometimes embed rotation inconsistently across pages; fix outliers individually rather than rotating the entire job when only a few sheets are wrong.