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

PDF is poorly formatted #4193

Open
mutmedia opened this issue Nov 18, 2019 · 3 comments
Open

PDF is poorly formatted #4193

mutmedia opened this issue Nov 18, 2019 · 3 comments

Comments

@mutmedia
Copy link

Issue details

When saving a pdf to wallabag it is either very poorly formatted or straight unreadable. Not sure if this is a wallabag problem or if it is some external library used for converting pdf's, but it kills one use case for me which is reading and taking notes on papers.

Environment

using latest wallabag version on yunohost on a personal raspberry pi

Steps to reproduce/test case

Go to a pdf page (e.g: https://www.utilitarianism.com/nu/omelas.pdf)
Save it to wallabag
Notice that the text is very poorly formatted

@j0k3r
Copy link
Member

j0k3r commented Nov 19, 2019

We are using an external library (https://github.com/smalot/pdfparser) for that so we can't fix it.
Basically we usually extract text from the PDF as plain text because we can't keep formatting stuff when doing that.

@Kdecherf
Copy link
Member

@mutmedia do you consider that #2655 would fix your issue?

@mutmedia
Copy link
Author

Posted a question there regarding highlighting/annotation, but if I understand it properly, I believe it will

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