mirror of
https://github.com/storytold/pdfcraft.git
synced 2026-10-31 13:37:35 -06:00
Since #1557 the page background was painted inside the page transparency group, as its initial backdrop, so that a Multiply highlight under reading colours blends with the dark background. With document colours that made every object blend with the white paper: a green /BM /Screen fill over an empty part of the page came out white, and Difference or Exclusion magenta. Only Normal, Multiply, Darken and HardLight, for which blending with white gives back the source colour, looked right. 0.8.0 was correct. The page's objects composite with an initially transparent backdrop and the page group is then put on the paper (ISO 32000-2, page group). Vendored hayro patch (18) now paints the background inside the group only under reading colours, where #1548 needs it, and outside it otherwise, as before #1557. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01RUNQSPVXx3dDBabRZHAnjz