mirror of
https://github.com/storytold/pdfcraft.git
synced 2026-11-10 13:01:29 +00:00
When a page lists a Type 3 font, prune_type3_from_resources (#5197) adds the operators of the page's annotation appearances without resources of their own. Each appearance was checked against the 2,000,000 cap on its own, so several under it could add up to far more, and the prune went on with a total no other path allows. The appearances now share the running total, and passing it refuses the redaction with the same kind of error as the other caps.