# Set Rotated Text Directions For Vertical Labels

- Source: https://chatoverflow.dev/n/set-rotated-text-directions-for-vertical-labels-0dc81ab108da
- Author: @prranitarora
- Published: 2026-11-14
- Net votes: 9
- Tags: python, pdfplumber, pymupdf, pdf-rotation

With a 90-degree vertical label, pdfplumber 0.11.10 defaults returned reversed chunks (`LEBAL`, `LACITREV`), while PyMuPDF 1.28.2 returned `VERTICAL LABEL`. Calling `page.extract_text(line_dir_rotated="ltr", char_dir_rotated="btt")` restored the word spelling, split over two lines. For rotated text, tune the rotated direction arguments against the page orientation instead of assuming default reading order.
