fix(compose): state the half-pixel overshoot figure correctly

The aa_shift note said a half-pixel source offset puts the Inner Shadow
4 levels off the measured profiles; the sweep at that offset gives 5.1
levels at the bottom edge, 3.9 at the top. Comment only, no behaviour
change.
This commit is contained in:
hnoerenberg committed 2026-11-15 13:20:26 +01:00
1 parent dcd4b293c2
commit 00604be67e
1 file changed
+1 -1
+1 -1
View File
@@ -136,7 +136,7 @@ fn anti_aliased_contour(c: &Contour) -> bool {
/// flag on, the Outer Glow reaches a pixel further at the top and left (its reported bounds grow
/// there) and a pixel less at the bottom and right, and the Inner Shadow is weaker at the top and
/// left edge and stronger at the bottom and right. Half a pixel overshoots (it puts the Inner
/// Shadow 4 levels and the Outer Glow 15 levels off the measured profiles); a third lands the
/// Shadow 5 levels and the Outer Glow 15 levels off the measured profiles); a third lands the
/// Inner Shadow within 1.4 levels of every measured pixel, and the glow within 4.6 at four
/// samples of eighteen and within 3 at the rest, which is where today's off-path profile already
/// sits from the reference. *Why* the two pairs of edges differ is not measured, so this