#4113·pypdf

BUG: 6.16.0 在 `extract_text()` 中在字符串内插入不必要的空格,适用于不带 `/Encoding` 的子集 TrueType 字体(回退至 #3905)

作者: behnam-oneschema创建于 2026年9月20日更新于 2026年9月22日
标签workflow-text-extractionwhitespace

From pypdf 6.16.0, plain `page.extract_text()` (default, non-layout mode — including the `visitor_text` callback) splits words in some PDFs, e.g. `Total Annual Withholding Reported` → `To t a l A n n u a l W i t h h o l d i n g R e p o r t e d`. 6.15.0 extracts the same text correctly. The behavior is unchanged through 6.19.0.