You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug]: Cannot obtain text info with custom fonts #20007
Try to select all text, copy, and paste somewhere else
What is the expected behavior?
The original text can be copied and pasted correctly
What went wrong?
The pasted text is missing characters
Link to a viewer
No response
Additional context
Calling page.getTextContent() on the page also returns text with missing characters as '\x00'. Same for page.getOperatorList()
When using Chrome, the pasted text is correct, so the pdf shouldn't be corrupt.
When using macOS Preview app, the pasted text doesn't lose characters but has extra space between, so there's probably something peculiar about this pdf
Activity
kishansinghifs1 commentedon Jun 13, 2025
LTepliakov commentedon Jun 17, 2025
Looks to be the same problem I reported in the issue