Skip to content
New issue

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

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

Already on GitHub? Sign in 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?

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

No branches or pull requests

3 participants