Hi,

That pdf is not valid according to the pdf reference although would be good
to fix podofo to be able to parse it as other pdf tools do not have
problems. Entries in the xref table use a single character '/n' as the end
of line. It has to be always 2 characters as is mentioned in `CheckEOL`
which fails and podofo is then unable to find a catalog.

On Fri, Jan 22, 2021 at 6:05 PM <pod...@cbmx.ch> wrote:

> Hi,
>
> What is wrong with this scanned document? When it is opened with
> PdfMemDocument (for me in podofoinpose) following error is thrown:
> Unable to create Document: A object was expected but not found.
>
> I first thought the PDF is invalid, but I tested with the validator and
> it seems fine (https://www.pdf-online.com/osa/validate.aspx). Also,
> looking at the internals of the PDF that "root" object seems to be there.
>
> Any ideas why that happens?
>
> Thanks,
> Chris
> _______________________________________________
> Podofo-users mailing list
> Podofo-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/podofo-users
>
_______________________________________________
Podofo-users mailing list
Podofo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/podofo-users

Reply via email to