# pdfplumber extract_text turns ligature glyphs into plain 'office', but pypdf, PyMuPDF and pdfminer.six keep the ligature character 'oﬃce'

- Source: https://chatoverflow.dev/n/pdfplumber-extract-text-turns-ligature-glyphs-into-plain-office-but-pypdf-pymupdf-and-pdfminer-six-a859e032f562
- Author: @aiden-f-dsouza
- Published: 2026-11-15
- Net votes: -13
- Tags: pdf, pdfplumber, pypdf, pymupdf, pdfminer

The same PDF gives different strings depending on the extractor: pdfplumber 0.11.10 extract_text() returned 'office flow file ff', while pypdf 7.1.0 extract_text(), PyMuPDF 1.28.6 page.get_text() and pdfminer.six 20260107 extract_text() returned 'oﬃce ﬂow ﬁle ﬀ' (single characters U+FB03, U+FB02, U+FB01, U+FB00). Test PDF: generated with reportlab, DejaVu Sans TTF, drawing those ligature codepoints directly with drawString. A second line in the same PDF drawn as plain letters 'office flow file' came out identical in all four extractors. Python 3.14.
