Bug#847128: evince: different rendering of two copies of same PDF

Lionel Elie Mamane lionel at mamane.lu
Mon Dec 5 20:49:30 UTC 2016


Package: evince
Version: 3.22.1-2
Severity: normal

When I load
https://www.belgocontrol.be/html/belgocontrol_static/eaip/eAIP_Main/pdf/EB_Amdt_2016_012_en.pdf
in Iceweasel, which is configured to open PDF files with Evince, the
PDF opens in evince and displays bad.

If from bash I issue command:
evince https://www.belgocontrol.be/html/belgocontrol_static/eaip/eAIP_Main/pdf/EB_Amdt_2016_012_en.pdf
then the same pdf renders a bit ugly, but OK.

If I wget the URL and open the file in evince, it display ugly/OK. If

If I open the file in /tmp created by Iceweasel in evince, then it
displays bad. Reproducibly so. It display well in xpdf.

If I cp the file created by Iceweasel to a new location or name, then
it displays sometimes ugly/OK, sometimes bad:

$ cp EB_Amdt_2016_012_en-1.pdf  EB_Amdt_2016_012_en-2.pdf
# now EB_Amdt_2016_012_en-2.pdf displays bad
$ cp EB_Amdt_2016_012_en-2.pdf FOO
# FOO displays ugly/OK
$ mv FOO FOO.pdf
# FOO.pdf displays ugly/OK


I have checked that the file created by iceweasel and the file
created by wget are byte-to-byte identical. But they render
differently. I chmod()ed the wget file to the same permissions as the
iceweasel file. No change. I'm clueless as to what happens. I thought
maybe evince has an on-disk render cache, but I deleted all
directories called .evince or evince in my home directory (and up to
two levels below), no difference.

Look:

user at host:/tmp/mozilla_${USERNAME}0$ ls -l EB_Amdt_2016_012_en.pdf*
-r-------- 1 master master 7050068 déc  5 20:39 EB_Amdt_2016_012_en.pdf
-r-------- 1 master master 7050068 oct 24 15:07 EB_Amdt_2016_012_en.pdf.1
user at host:/tmp/mozilla_${USERNAME}0$ sha256sum EB_Amdt_2016_012_en.pdf*
c406330ffdaf9d07c8025276b8071ab7876e45d095ed3a7cc3e26b8eae87b522  EB_Amdt_2016_012_en.pdf
c406330ffdaf9d07c8025276b8071ab7876e45d095ed3a7cc3e26b8eae87b522  EB_Amdt_2016_012_en.pdf.1
user at host:/tmp/mozilla_${USERNAME}0$ diff -s EB_Amdt_2016_012_en.pdf EB_Amdt_2016_012_en.pdf.1 
Files EB_Amdt_2016_012_en.pdf and EB_Amdt_2016_012_en.pdf.1 are identical
user at host:/tmp/mozilla_${USERNAME}0$ evince EB_Amdt_2016_012_en.pdf EB_Amdt_2016_012_en.pdf.1
# see attached screenshot

See also https://bugs.freedesktop.org/show_bug.cgi?id=98983
If I open https://bugs.freedesktop.org/attachment.cgi?id=128318 in
iceweasel, same result as from the Belgocontrol website.

-- System Information:
Debian Release: 8.6
  APT prefers stable
  APT policy: (500, 'stable'), (400, 'testing'), (200, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.16.0-4-amd64 (SMP w/8 CPU cores)
Locale: LANG=fr_LU.UTF-8, LC_CTYPE=fr_LU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Init: systemd (via /run/systemd/system)

Versions of packages evince depends on:
ii  dconf-gsettings-backend [gsettings-backend]  0.22.0-1
ii  evince-common                                3.22.1-2
ii  gsettings-desktop-schemas                    3.14.1-1
ii  libatk1.0-0                                  2.22.0-1
ii  libc6                                        2.24-7
ii  libcairo-gobject2                            1.14.0-2.1+deb8u1
ii  libcairo2                                    1.14.0-2.1+deb8u1
ii  libevdocument3-4                             3.22.1-2
ii  libevview3-3                                 3.22.1-2
ii  libgdk-pixbuf2.0-0                           2.36.0-1
ii  libglib2.0-0                                 2.50.2-2
ii  libgnome-desktop-3-12                        3.22.2-1
ii  libgtk-3-0                                   3.22.4-1
ii  libnautilus-extension1a                      3.22.1-2
ii  libpango-1.0-0                               1.40.3-3
ii  libsecret-1-0                                0.18-1+b1
ii  shared-mime-info                             1.3-1

Versions of packages evince recommends:
pn  default-dbus-session-bus | dbus-session-bus  <none>

Versions of packages evince suggests:
ii  gvfs             1.22.2-1
pn  nautilus-sendto  <none>
ii  poppler-data     0.4.7-1
ii  unrar            1:5.2.7-0.1

-- no debconf information
-------------- next part --------------
A non-text attachment was scrubbed...
Name: EB_Amdt_2016_012_en.pdf
Type: application/pdf
Size: 7050068 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-gnome-maintainers/attachments/20161205/b15cc1c2/attachment-0001.pdf>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 2016-12-05-213727_1280x1024_scrot.png
Type: image/png
Size: 116182 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-gnome-maintainers/attachments/20161205/b15cc1c2/attachment-0001.png>


More information about the pkg-gnome-maintainers mailing list