[Podofo-users] Wrong limits in Name Trees

2017-12-06 Thread Michal Sudolsky
Not sure whether this is known bug but I think if yes then it would be fixed long ago. When adding more than 65 entries in name tree then "Limits" keys are wrongly set. Acrobat will not forgive that, it will not see all names. Example code: PdfMemDocument doc; > for(int i = 0; i < 66; i++) > {

Re: [Podofo-users] Parse error on Chromium generated PDFs

2017-12-06 Thread leizh
After some digging, Chromium / Skia do not store annotations as references, but directly as dictionnary under /Annots. Here is a simple patch which solves it but incorrect : the allocated PdfObject is not deleted afterwards. - Mail original - De: le...@free.fr À:

[Podofo-users] Parse error on Chromium generated PDFs

2017-12-06 Thread leizh
Hello, Thanks for this library. I try to use it to postprocess Chromium generated PDFs (add of outlines) but a parsing error occurs on them. Here is an exemple output of podofopdfinfo : Page Info - Page Count: 1 Page 0: ->Internal Number:1 ->Object Number:5 0 R MediaBox: [