PDA

View Full Version : Evince can't open pdf files


MuadNu
25th October 2010, 04:29 PM
I just installed F14 and evince can't open any pdf files (it says "File type PDF document (application/pdf) is not supported"). Running from the terminal gives:
(evince:6777): EvinceDocument-WARNING **: Cannot load backend 'pdfdocument' since file '/usr/lib64/evince/3/backends/libpdfdocument.so' cannot be read.
But the file is there, so I'm not sure why it can't be read.
# ls -l /usr/lib64/evince/3/backends/lib*
-rwxr-xr-x. 1 root root 19968 Sep 29 11:04 /usr/lib64/evince/3/backends/libcomicsdocument.so
-rwxr-xr-x. 1 root root 150432 Sep 29 11:04 /usr/lib64/evince/3/backends/libdvidocument.so
-rwxr-xr-x. 1 root root 62480 Sep 29 11:04 /usr/lib64/evince/3/backends/libpdfdocument.so
-rwxr-xr-x. 1 root root 13992 Sep 29 11:04 /usr/lib64/evince/3/backends/libpsdocument.so
-rwxr-xr-x. 1 root root 41536 Sep 29 11:04 /usr/lib64/evince/3/backends/libtiffdocument.so

Postscript files can be opened with no issues...

AdamW
25th October 2010, 10:24 PM
what does:

rpm -V evince-libs

return? I can't reproduce this, wondering the library is corrupt on your system. Though it has the same file size on mine...what if you disable SELinux?

MuadNu
26th October 2010, 03:01 AM

I actually found out what's the issue. I'm using the font patches from infinality.net, and for some reason those are messing with the pdf support. Once I uninstalled the infinality packages pdf is back to normal. Hopefully infinality will fix, since the difference with the default fonts is, to my taste, huge, but I need to be able to read pdfs :(.

AdamW
26th October 2010, 07:36 PM
ah.

I've no idea why that person doesn't send their ideas upstream...

MuadNu
26th October 2010, 07:47 PM
I think he's trying to get the patch directly in freetype. And by the way, it turned out that it is not his freetype package that is causing the problem, but his patch for cairo (which seemingly is not needed anymore so now I have pdfs and nice fonts :)).