>
>
> Francesco: Yes PoDoFo crashes when loading my provided file (you can also
> try to open it with podofobrowser, it also crashes with the error that the
> 'trailer' is not found).
>
> Michal: You are correct in assuming that the word 'trailer' in the
> comments would be a problem, i didnt think about that... i also dont know
> off the top of my head how to fix this easily. I havent looked at pdfmm's
> implementation but if that doesnt crash (according to Francesco) maybe
> PoDoFo should be changed to that.
>
> "What if xref itself is between trailer and startxref?": if im not
> misunderstanding it this should be prohibited according to pdf spec Version
> 1.7 section 7.5.5 "File trailer" (or my pdf spec is too old :-) )
>
I have a document from 2006. Seems your is from 2008 so it was probably
added.

But as you can see my PDFs with these prohibited things open well in any
pdf viewer I tested including acrobat. There are other "invalid" PDFs
(according to some version of pdf spec) out there which are working fine so
it is probably good practice for pdf readers to be more lenient.


> Best Regards,
>
> Dennis
>
>
> --
>
> [image: dots Software] <http://www.dots.de/en/>
>
> Dennis Voss
> Lead Programmer
>
> dots Gesellschaft für Softwareentwicklung mbH
> Schlesische Str. 27, 10997 Berlin, Germany
>
> Tel: +49 (0)30 695 799-30
>
> dennis.v...@dots.de <max.musterm...@dots.de>
> https://www.dots.de
>
> District court | Amtsgericht: Berlin Charlottenburg HRB 65201
> Managing Director | Geschäftsführer: Katsuji Kondo
>
>
> _______________________________________________
> 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