mirror of
https://github.com/storytold/pdfcraft.git
synced 2026-11-02 06:28:49 -06:00
On a page with no content of its own, an on-top watermark is the first stream in /Contents, so it was counted with the behind-content marks and a watermark added behind later was drawn over it. Nothing records whether a watermark is behind, so a new behind mark now goes right after the last background, which is always below any on-top watermark. A newer behind watermark goes under older ones again, as before #3591.