Skip to content

feat(reader): extract the plain text of a PDF (1.28.0) - #59

Merged
dskripchenko merged 1 commit into
mainfrom
feat/text-extraction
Nov 14, 2026
Merged

dskripchenko merged 1 commit into
mainfrom
feat/text-extraction

Conversation

@dskripchenko

Copy link
Copy Markdown
Owner

ReaderDocument::text(): text operators of pages and form XObjects; /ToUnicode maps, simple-font encodings with /Differences (Adobe Glyph List names, Cyrillic afii, uniXXXX), composite fonts; lines and word spaces from glyph positions; ligatures written out. Tests on own output (incl. Cyrillic in an embedded font) and on the external corpus (Google Docs, pdflatex, PDF/A, pdfkit). Docs in four languages, CHANGELOG 1.28.0.

🤖 Generated with Claude Code

ReaderDocument::text() reads each page's text operators and the form
XObjects it draws; fonts decode codes through /ToUnicode maps, simple-font
encodings with /Differences named by the Adobe Glyph List, and composite
fonts; glyph widths place lines and word spaces. Release 1.28.0.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@dskripchenko
dskripchenko merged commit c426b69 into main Nov 14, 2026
10 checks passed
@dskripchenko
dskripchenko deleted the feat/text-extraction branch November 14, 2026 20:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant