Hi all, I stumbled across a PDF (Producer: Mac OS X 10.13.1 Quartz PDFContext, Creator: Keynote) that has all strings in \Info as references.
pdfinfo parses it correctly, but podofopdfinfo does not, because PoDoFo::PdfInfo::Get* only try to get the string directly instead of following the reference. If you rely on e.g. GetProducer() returning even just an empty string, you will observe a crash. IMHO those helper functions should do just that - return an empty string if the producer is not there. In any case they should fgollow the reference if the dict entry is of type reference. thanks Florian ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Podofo-users mailing list Podofo-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/podofo-users