/oss · 1 merged

py-pdf/pypdf

A pure-Python library for reading, splitting, merging and changing PDF files.

the project on GitHub (opens in a new tab)
  1. 12 Nov 2026

    PDF text extraction puts spaces in the right places

    What was broken
    Text pulled from LaTeX PDFs split words at kerned letters and joined words after a font change, giving text like "F rameworks" and "Programming:Python".
    What I changed
    Only a forward move adds a space, and a gap after a font change is now seen.
    Why it matters
    Text extracted for search and AI tools reads as it does on the page.

    see the code, #4377 (opens in a new tab)

← every project