-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Broken characters when merging pages #1640
Comments
I guess you mean pypdf==3.4.1, right? |
Error found. not referening the good object. Funny effect and quite tricky to locate |
Yes! Sorry.
It's amazing how quick you are ❤️ Happy to test the PR on Monday! |
Yup, PR seems to work for me! :) |
The fix was just merged and will be in |
Thank you for reporting it! If you want I can add you as a contributor: https://pypdf.readthedocs.io/en/latest/meta/CONTRIBUTORS.html |
Nah, that's fine, but thanks! :) |
We are using PyPDF to implement a "n-up" feature in our application. With the upgrade from PyPDF 2.12.x to PyPDF 3.x and the fix for #1601, this now generally works again but breaks in funny ways with text.
Environment
Which environment were you using when you encountered the problem?
$ python -m platform Linux-6.0.9-arch1-1-x86_64-with-glibc2.36 $ python -c "import pypdf;print(pypdf.__version__)" 3.4.1
Code + PDF
This is a minimal, complete example that shows the issue:
Input files:
badges_3vjrh_7LXDZ_1-1.pdf
badges_3vjrh_7LXDZ_2-1.pdf
Expected output
The expected output is this. We can obtain this output by using e.g. PyPDF 2.12.1:
pypdf2.pdf
Actual output
The actual output from PyPDF3 is this:
pypdf3.pdf
Note that the first line now reads "Hans-Jörgen" instead of "Hans-Jürgen"
The text was updated successfully, but these errors were encountered: