A Divendres, 10 de juny de 2011, Axel Strübing vàreu escriure: > Hi all, > > > > Please, send a patch, will make everyone lives easier. And also send a PDF > > and some code to prove your patch has benefits at least for a given case. > > > > Albert > > > > as it was not as clear as possible in the first message, I want to clarify > that the problem is in saving a modified file incrementally by giving > writeForceIncremental flag to PDFDoc->saveAs. The problem occurs only if the > file is linearized. > > I attached a patch, which modifies the original behaviour of getStartXRef for > the case that the file is linearized. With the patch applied my application > modifies the file okay. > > I also attached the original (test2.pdf) and modified files before and after > applying the patch, respectively. > > openTest.pl uses CAM::PDF and demonstate my problem. It opens test2.pdf and > test2-afterPatch.pdf okay but not test2-beforePatch.pdf > > If I could assist you any further don't hesitate to contact me.
Hmmm, i started testing and i can open correctly the three files attached in this mail *without* your patch when using poppler trunk, are you sure your patch is still needed? Albert > > -- > regards > Axel _______________________________________________ poppler mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/poppler
