From a9da0efea5c7191be3fc150465c52c03a44b4765 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Thu, 29 Oct 2009 00:20:43 +0000 Subject: [PATCH] Ditch sanity check triggered by insane subpixel antialiasing --- yarrg/structure.c | 9 --------- 1 file changed, 9 deletions(-) diff --git a/yarrg/structure.c b/yarrg/structure.c index 46b6853..cc1e713 100644 --- a/yarrg/structure.c +++ b/yarrg/structure.c @@ -646,15 +646,6 @@ static inline Fixpt find_aa_density(const RgbImage *ri, Point p) { Fixpt alpha_mean= fixpt_mul(alpha_total, one_third); Fixpt thresh= dbl2fixpt(1.5/AAMAXVAL); - Fixpt alpha_min= alpha_mean - thresh*2; - Fixpt alpha_max= alpha_mean + thresh*2; - - for (i=0; i<3; i++) - MUST( alpha_min <= alpha[i] && alpha[i] <= alpha_max, - MP(p); - MRGB(here);MRGB(aa_background);MRGB(aa_foreground); - MFP(aa_alpha_mean_max);MFP(thresh);MFP(alpha_mean); - MFP(alpha_min);MI(i);MFP(alpha[i]);MFP(alpha_max) ); MUST( -thresh <= alpha_mean && alpha_mean <= aa_alpha_mean_max + thresh, MP(p); -- 2.30.2