Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
When modifying annotation appearance streams, finding the PDF end-of-text marker b"ET" must be the last one in the stream. I.e. use rfind(b"ET") instead of find(b"ET"). We erroneously searched for the next one - which can destroy the stream if it happens to contain multiple b"ET" strings.
- Loading branch information