Text is scrambled after certain fontRefs
Submitted by Stephen E.
Assigned to poppler-bugs
Created attachment 124515 PDF file demonstrating the bug
I've encountered a PDF that Poppler renders improperly, scrambling text on entire pages.
I recently reported the same issue to PDF.JS, and a fix was implemented. Here are links from that discussion:
- The issue: https://github.com/mozilla/pdf.js/issues/7403
- The fix: https://github.com/mozilla/pdf.js/pull/7347
- Reduced test case PDF demonstrating the bug: https://github.com/Snuffleupagus/pdf.js/raw/d47c9f36f8b9b68d40496cf8a225816eea06fc38/test/pdfs/issue7403.pdf
I've attached the same PDF that I originally included in the above GitHub issue. In Poppler-based renders and conversions, the corruption is obvious in later pages (3-5).
Attachment 124515, "PDF file demonstrating the bug":