mirror of
https://github.com/storytold/photocraft.git
synced 2026-12-03 06:31:42 +01:00
compose/effects: `shadow_map` never read `Shadow::anti_alias`, so the Inner Shadow's Anti-aliased checkbox changed nothing: on the issue's test document the flag on and off gave the same map bit-for-bit and the same edge profile on all four sides (58 81 103 116 122 125 126 127 128). The reference application's two measured profiles sit on a source that sits a third of a pixel towards the top-left, which makes the shadow weaker at the top and left edge (65 89 107 118 124 126 127 127 128) and stronger at the bottom and right (49 74 96 112 121 125 126 127 128); half a pixel overshoots both tables. Only the inner branch and the Gaussian contour take the shift: the Drop Shadow (#14881), the other contours and every unmeasured case keep today's map, pinned by whole-map hashes in the new test file.