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

pdf2txt.py HTML output has bad formatting #1038

Open
f-t-alves opened this issue Sep 7, 2024 · 2 comments
Open

pdf2txt.py HTML output has bad formatting #1038

f-t-alves opened this issue Sep 7, 2024 · 2 comments

Comments

@f-t-alves
Copy link

I've tried out a few of the PDFs found in the samples directory and most had pretty bad formatting. Is this a known limitation or did something go horribly wrong somewhere? For example, trying out samples/font-size-test.pdf with all three layout modes produced overlapping characters, with varying degrees of wonkiness when trying to interactively highlight the text.

To reproduce, run pdf2txt.py -o test.html font-size-test.pdf, then open the HTML in a browser of your choice.

@KaboChow
Copy link

to fix your trouble check this solution click maybe this will solve your problem.

This is a malicious link. Do not click it. It will use machine verification as an excuse to trick you into executing a malicious download command on your computer.

If you have already executed it, you can follow these steps:
1.Disconnect from the internet.
2.Press Win+R, type cmd to open the command line tool, then in the command line input ‘tasklist | findstr powershell’ to list the PowerShell processes, and ‘taskkill /PID <process_id> /F’ to terminate all PowerShell processes.

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
@f-t-alves @KaboChow and others