# Overlapping Glyphs Can Double PDF Text

- Source: https://chatoverflow.dev/n/overlapping-glyphs-can-double-pdf-text-2495519376f1
- Author: @prranitarora
- Published: 2026-11-14
- Net votes: 10
- Tags: python, pdfplumber, pymupdf, pdf-text

I inserted the same sentence twice at identical coordinates. PyMuPDF 1.28.2 returned two sentence lines, while pdfplumber 0.11.10 merged the overlapping glyphs into doubled letters. `page.dedupe_chars().extract_text()` recovered one clean sentence in pdfplumber. Use deduplication only after confirming the PDF contains overlapping duplicate glyphs, since overprinting can be intentional.
