-
Notifications
You must be signed in to change notification settings - Fork 9.8k
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
JBIG2 text segments with reference corner on the right do not render correctly #17871
Labels
Comments
calixteman
added a commit
to calixteman/pdf.js
that referenced
this issue
Apr 3, 2024
calixteman
added a commit
to calixteman/pdf.js
that referenced
this issue
Apr 3, 2024
calixteman
added a commit
to calixteman/pdf.js
that referenced
this issue
Apr 3, 2024
calixteman
added a commit
to calixteman/pdf.js
that referenced
this issue
Apr 3, 2024
Thanks for the quick fix! I verified that these PDFs all work well in https://mozilla.github.io/pdf.js/web/viewer.html now. I opened #17883 for the same PDFs with the transpose flag set (and coordinates appropriately adjusted) still having a few issues. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Attach (recommended) or Link to PDF file here:
symbol-bottomleft.pdf
symbol-topright.pdf
symbol-bottomright.pdf
Configuration:
Steps to reproduce the problem:
What is the expected behavior? (add screenshot)
The should all look identical, like symbol-bottomleft.pdf looks in Firefox, and like all three look in Chrome.
mutool extract
(which I believe uses jbig2dec for jbig2 decoding) also produces output like Chrome for all three (…albeit with an unrelated warning).What went wrong? (add screenshot)
The two with the reference corner on the right look compressed in the x direction:
(I made these files myself while writing a JBIG2 decoder. I'm reasonably confident that the files and Chrome and jbig2dec and my decoder are correct, but it's possible the files are wrong instead.)
The text was updated successfully, but these errors were encountered: