Bug 101728 - Characters are not rendering in document
Summary: Characters are not rendering in document
Status: VERIFIED FIXED
Alias: None
Product: poppler
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: poppler-bugs
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-07-09 10:21 UTC by Jelle Haandrikman
Modified: 2017-12-10 14:42 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
PDF with missing text. (77.63 KB, application/pdf)
2017-07-09 10:21 UTC, Jelle Haandrikman
Details
PNG of page with missing text. (5.56 KB, image/png)
2017-07-09 10:22 UTC, Jelle Haandrikman
Details
Patch to fix (2.88 KB, patch)
2017-07-10 11:46 UTC, Adrian Johnson
Details | Splinter Review
Patch to fix (2.88 KB, patch)
2017-07-10 23:12 UTC, Adrian Johnson
Details | Splinter Review

Description Jelle Haandrikman 2017-07-09 10:21:57 UTC
Created attachment 132569 [details]
PDF with missing text.

Hi,

My phone bill is not rendering correctly. Almost all the text is missing. 
I tried several viewers under Debian like Okular, xpdf and Evince. Also pdftoppm shows the same result. If I use ghostscript, it renders OK. 

I've attached a single page from the phone bill that has no privacy information it. (created with PDFTK)
Both as pdf and the ppm converted to png. 

I'm wondering what's going wrong.
Comment 1 Jelle Haandrikman 2017-07-09 10:22:58 UTC
Created attachment 132570 [details]
PNG of page with missing text.
Comment 2 Adrian Johnson 2017-07-10 11:46:12 UTC
Created attachment 132580 [details] [review]
Patch to fix
Comment 3 Adrian Johnson 2017-07-10 23:12:15 UTC
Created attachment 132601 [details] [review]
Patch to fix

Updated patch to fix overflow check.
Comment 4 Albert Astals Cid 2017-07-31 12:47:51 UTC
Pushed.
Comment 5 Jelle Haandrikman 2017-12-10 14:42:29 UTC
Thank you for fixing this. 
All PDF reading now works correctly.
Tested on Okular 0.26.1


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.