Bug 50701 - Bad text rendering (only lower part displayed) on some PDFs
Summary: Bad text rendering (only lower part displayed) on some PDFs
Status: RESOLVED NOTABUG
Alias: None
Product: poppler
Classification: Unclassified
Component: cairo backend (show other bugs)
Version: unspecified
Hardware: x86-64 (AMD64) Linux (All)
: medium major
Assignee: poppler-bugs
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-06-04 16:07 UTC by Benjamin Cama
Modified: 2016-04-17 15:04 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
the PDF viewed with evince (97.40 KB, image/png)
2012-06-04 16:07 UTC, Benjamin Cama
Details
Same document viewed with xpdf (111.90 KB, image/png)
2012-06-04 16:07 UTC, Benjamin Cama
Details
Screenshot evince and okular (127.63 KB, image/png)
2014-04-14 18:10 UTC, Oriol Mula-Valls
Details
Example PDF file (28.84 KB, text/plain)
2014-04-14 18:11 UTC, Oriol Mula-Valls
Details

Description Benjamin Cama 2012-06-04 16:07:08 UTC
Created attachment 62549 [details]
the PDF viewed with evince

[bug report forwarded from https://bugzilla.gnome.org/show_bug.cgi?id=652328]

Hi,

The PDFs that one can find here
http://www.chrisharrison.net/projects/wordassociation/index.html all render
with text almost entirely hidden. I only see the bottom of the letters in every
sentence. See the screenshot attached. The bug happens with xpdf too, but the letters are less hidden than with evince.

I'm using the latest Debian sid versions, on amd64.

evince 3.4.0
libpoppler 0.18.4
xpdf 3.03 (just in case)
Comment 1 Benjamin Cama 2012-06-04 16:07:45 UTC
Created attachment 62550 [details]
Same document viewed with xpdf
Comment 2 Oriol Mula-Valls 2014-04-14 18:10:54 UTC
Created attachment 97359 [details]
Screenshot evince and okular
Comment 3 Oriol Mula-Valls 2014-04-14 18:11:28 UTC
Created attachment 97360 [details]
Example PDF file
Comment 4 Oriol Mula-Valls 2014-04-14 18:12:32 UTC
I think I've been hit by the same book. I have attached a screenshoot of evince and okular and an example PDF file.
Comment 5 Oriol Mula-Valls 2014-04-14 18:13:21 UTC
Sorry I mean same bug
Comment 6 Albert Astals Cid 2014-04-14 18:26:46 UTC
Oriol, your pdf is broken (no pdf viewer i have access to shows it in a different way than popplr does), so there's no bug.
Comment 7 Oriol Mula-Valls 2014-04-14 18:42:17 UTC
It is properly rendered on Debian Squeeze with evince 2.30.3-2+squeeze1 and poppler 0.12.4-1.2.

bugzilla-daemon@freedesktop.org wrote:

>Comment # 6 on bug 50701 from Albert Astals Cid Oriol, your pdf is broken (no pdf viewer i have access to shows it in a different way than popplr does), so there's no bug. 
>
>You are receiving this mail because: You are on the CC list for the bug.
Comment 8 Albert Astals Cid 2014-04-14 18:55:02 UTC
So there was a bug in the old poppler that we now fixed.
Comment 9 Oriol Mula-Valls 2014-04-14 20:40:49 UTC
Thanks a lot for you fast replies Albert. I'll try to have a look to ps2pdf which is what we are you using to generate the file.
Comment 10 Thomas Freitag 2016-03-18 14:19:40 UTC
Is there any PDF viewer who is able to show the PDFs of http://www.chrisharrison.net/projects/wordassociation/index.html like the thumbnails there?
Even Acrobat is not able, but I also tried mupdf and gs!
Comment 11 Jason Crain 2016-03-29 17:11:31 UTC
(In reply to Thomas Freitag from comment #10)
> Is there any PDF viewer who is able to show the PDFs of
> http://www.chrisharrison.net/projects/wordassociation/index.html like the
> thumbnails there?
> Even Acrobat is not able, but I also tried mupdf and gs!

Foxit and Sumatra display them correctly.  I think the problem is partially that the font's bounding box in the PDF is wrong.  The font has this line in it's dict:

    /FontBBox [0 -950.68359 1605.95703 213.37891]

213 is way too small.  Increasing it fixes the rendering in pdftoppm.  pdftocairo is still wrong.  I'd say it's mostly just a bad PDF.
Comment 12 Jason Crain 2016-04-17 15:04:41 UTC
closing as this is caused by a bad PDF and not a bug in poppler


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.