Hi,
Ah ok. Thanks for the explanation.
I had a look at the code, but do not feel competent enough in the PoDoFo
code base to provide a patch. I tried, but it looked like to offsets
where wrong. Sorry, that I couldn't be of any help.
Chris
On 1/22/21 6:36 PM, Michal Sudolsky wrote:
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
<mailto: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
<mailto: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