Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Is there any way to extract text from a PDF using pdf-lib library i.e. using x , y coordinates #892

Closed
HassanTarique27 opened this issue May 24, 2021 · 2 comments

Comments

@HassanTarique27
Copy link

No description provided.

@Hopding
Copy link
Owner

Hopding commented Sep 23, 2021

https://github.com/Hopding/pdf-lib#limitations

it cannot extract plain text on a page outside of a form field. This is a difficult feature to implement, but it is within the scope of this library and may be added to pdf-lib in the future. See #93, #137, #177, #329, and #380.

@xulihang
Copy link

pdf.js can extract text with coordinates. Maybe we can just learn from its implementation?

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants