Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #191417
| From | Greg Marks <gtmarks@gmail.com> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | PDF displayed incorrectly by certain software |
| Date | 2018-01-23 01:30 +0100 |
| Message-ID | <vaUDn-3ng-7@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
[Multipart message — attachments visible in raw view] - view raw
I have encountered a peculiar situation where a PDF file displays as gibberish with certain PDF viewers but displays correctly with others. The PDF file in question can be downloaded from the site: https://link.springer.com/article/10.1007/s11856-017-1616-6 however, you might need an institutional subscription to view the full document, so I am temporarily posting a copy here: https://gmarks.org/cklppaper.pdf The file displays correctly using any of these programs: evince (version 3.22.1), zathura (version 0.3.7), acroread (version 9.5.5), mupdf (version 1.9a), xournal (version 0.4.8), gv (version 3.7.4). As you can perhaps confirm, the file does not display correctly--one sees only scattered mathematical symbols throughout the pages--if it is opened with any of the following programs: qpdfview (version 0.4.14), xpdf (version 3.04), okular (version 0.26.1). For example, here are screenshots of what the third page of the PDF file looks like on my machine as displayed in qpdfview and mupdf, respectively: https://gmarks.org/q03.png https://gmarks.org/m03.png The file prints correctly to a Postscript printer using lpr from the command line. Two questions: (1) Can anyone explain why the file opens correctly with certain PDF viewers but not with others? (2) Is there a way to convert it to a PDF file that renders correctly in every viewer? Regarding question (1), I don't think the PDF version of the file (version 1.6) is relevant; other PDF documents with this PDF version display correctly with qpdfview, etc. I don't think it has to do with the fact that qpdfview uses the Poppler library for rendering PDFs, as programs that displayed the document correctly use Poppler as well. Regarding question (2), I've tried running pdftops (which generates numerous "Missing or bad Type3 CharProc entry" syntax errors) followed by ps2pdf; the new PDF file still displays incorrectly using qpdfview, etc. Likewise pdf2ps followed by ps2pdf: the resulting PDF file appears in qpdfview as gibberish, albeit different gibberish than the original PDF file. Another failed attempt: "gs -q -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -sOutputFile=new.pdf -c .setpdfwrite -f cklppaper.pdf" also produces a new PDF file that will not display in qpdfview. Here is some additional information. I opened the file on a different, older Debian machine and was unable to reproduce the problem. The PDF file displayed correctly using qpdfview (version 0.4.14). Then I ran "sudo apt-get update && sudo aptitude safe-upgrade," after which qpdfview (version 0.4.14) no longer displayed the PDF file correctly. A number of packages were upgraded; I think the ones that caused the problem with qpdfview were: poppler-utils (0.48.0-2+deb9u1) over (0.48.0-2) libpoppler-qt5-1:amd64 (0.48.0-2+deb9u1) over (0.48.0-2) libpoppler-qt4-4:amd64 (0.48.0-2+deb9u1) over (0.48.0-2) libpoppler-glib8:amd64 (0.48.0-2+deb9u1) over (0.48.0-2) libpoppler64:amd64 (0.48.0-2+deb9u1) over (0.48.0-2) (Various other packages were upgraded, such as imagemagick-6-common and libgdk-pixbuf2.0-0, but I don't think those are relevant.) Regards, Greg Marks
Back to linux.debian.user | Previous | Next — Next in thread | Find similar | Unroll thread
PDF displayed incorrectly by certain software Greg Marks <gtmarks@gmail.com> - 2018-01-23 01:30 +0100
Re: PDF displayed incorrectly by certain software Richard Hector <richard@walnut.gen.nz> - 2018-01-23 02:00 +0100
Re: PDF displayed incorrectly by certain software Ionel Mugurel Ciobîcă <I.M.Ciobica@upcmail.nl> - 2018-01-23 02:20 +0100
Re: PDF displayed incorrectly by certain software Jude DaShiell <jdashiel@panix.com> - 2018-01-23 04:40 +0100
Re: PDF displayed incorrectly by certain software Curt <curty@free.fr> - 2018-01-23 11:20 +0100
Re: PDF displayed incorrectly by certain software Ionel Mugurel Ciobîcă <I.M.Ciobica@upcmail.nl> - 2018-01-23 14:50 +0100
Re: PDF displayed incorrectly by certain software Michael Lange <klappnase@freenet.de> - 2018-01-23 11:10 +0100
Re: PDF displayed incorrectly by certain software Michael Lange <klappnase@freenet.de> - 2018-01-23 11:30 +0100
Re: PDF displayed incorrectly by certain software Ionel Mugurel Ciobîcă <I.M.Ciobica@upcmail.nl> - 2018-01-23 14:40 +0100
[solved]Re: PDF displayed incorrectly by certain software Michael Lange <klappnase@freenet.de> - 2018-01-25 22:10 +0100
Re: PDF displayed incorrectly by certain software David Wright <deblis@lionunicorn.co.uk> - 2018-01-26 03:40 +0100
Re: PDF displayed incorrectly by certain software Michael Lange <klappnase@freenet.de> - 2018-01-26 10:20 +0100
Re: PDF displayed incorrectly by certain software David Wright <deblis@lionunicorn.co.uk> - 2018-01-27 05:20 +0100
csiph-web