On Wed, 19 Jul 2017 22:38:05 +0200, Albert Astals Cid wrote: > > El divendres, 14 de juliol de 2017, a les 17:35:54 CEST, Jannick va escriure: > > Dear All, > > my code snip below suggests that 'a.pdf' is copied to 'b.pdf' AFTER > > removing all annotations of a.pdf. However, b.pdf still contains all > > annotations seen in a.pdf. > > > > Am I missing something obvious here? > > Is removeAnnot returning true or false?
It returns true. However, it seems that rather Page::removeAnnot should be called which in turn needed a tiny patch due to a crash. Please see - https://lists.freedesktop.org/archives/poppler/2017-July/012309.html - proposed PATCH: https://bugs.freedesktop.org/show_bug.cgi?id=101795 > Cheers, > Albert Thanks, J. _______________________________________________ poppler mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/poppler
