Re: some PDFs fail to render using okular/evince/zathura on FC36

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu Oct06'22 07:55:42AM, Community Support for Fedora Users wrote:
> From: stan via users <users@xxxxxxxxxxxxxxxxxxxxxxx>
>
> I'm naive about pdf troubleshooting, but can you try sending yourself a
> document that when you download it works properly?  That is, can you
> find a pdf somewhere that works fine when you grab it from fedora, but
> doesn't work fine if it is sent to you via email.  Without a way to
> reproduce the problem consistently and tell whether it is the program or
> the sending that is causing the problem, it is going to be very
> difficult to track down.
>
> So, I did a little search on this problem, a learning experience.
> Turns out that there are many different kinds of pdfs.  Who knew?  Some
> links.
>
> https://support.veeva.com/hc/en-us/articles/4411930373019-What-is-PDF-A-and-How-to-Troubleshoot-Common-PDF-A-Rendering-Issues-
>
> https://community.adobe.com/t5/indesign-discussions/problem-rendering-pdf/td-p/10263045
>
> https://windowsreport.com/failed-to-load-pdf-document/
>
> https://www.inkit.com/blog/common-html-into-pdf-rendering-problems
>
> https://stackoverflow.com/questions/15858199/how-to-troubleshoot-badly-rendered-pdf-file
>
> After looking at those, I think the problem is that someone is
> configuring their pdf in ways that are incompatible with the readers
> you have.  Why does it work in the phone?  It could be that they are
> using tools from google to create the pdf, and the phone uses the tools
> provided by google to view the pdf, tuned to work with the creation
> tools, so the errors aren't evident.
> _____________________________________

Thanks for the detailed response. When I save the document and open with evince, I get:

 Unable to open document: file://home/..././51214686.pdf
 Failed to read the document catalog

pdffonts (from the stackoverflow page) gives:

       $ pdffonts ./51214686.pdf
       Syntax Error: Couldn't find trailer dictionary
       Syntax Error: Catalog object is wrong type (null)
       Syntax Error: Couldn't find trailer dictionary
       Internal Error: xref num -1 not found but needed, try to reconstruct<0a>
       Syntax Error: Couldn't find trailer dictionary
       Syntax Error: Couldn't find trailer dictionary
       Syntax Error: Catalog object is wrong type (null)
       Syntax Error: Couldn't read page catalog

Further

  $ file 51214686.pdf
  51214686.pdf: PDF document, version 1.5


Not quite sure how to troubleshoot this.

Many thanks, and best wishes,
Ranjan
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux