mirror of
https://github.com/mankidev/antialgorithm.git
synced 2026-12-01 18:03:31 -10:00
Text whose parent group has a filter skipped the cover check. In
grpfilter2.svg a green bar drawn over PARTLY HID inside a grain-filtered
group went unreported (the same text outside the group: 67% covered),
and in grpfilter.svg a red box over COVERED came out as "low contrast
(0)" instead of covered.
The exclusion came in with 7f92b83, together with the no-filter render
for text that has its own filter. The per-text renders drop every
filter, so a displacement filter on a group moves the group's text in
the full render but not in the per-text render, and the edges no
longer match: removing the exclusion alone makes ROUGH in a
displacement-filtered group "6% covered".
Keep that purpose but restore the check: the no-filter render now
drops filters from every element, the same way the per-text renders
do, and any text with a filter on itself or an ancestor is compared
against it. Contrast is still measured on the real, filtered render.