>
> > "...the filter adds up to 3 pixels to the left, and up to 3 pixels to
> > the right."
>
> This is not a `padding' per se, but a necessity to make the color
> filter work.  The bytes are added around line 190 in file
> `smooth/ftsmooth.c'.


Right. I see:

width   += 3 * extra;
pitch    = FT_PAD_CEIL( width, 4 );

where extra = 2 for FIR filters. So we add 3 *subpixels* on each side plus
rounding. So on one hand, the docs say something different. On the other
hand, the filter actually needs just 2 extra *subpixels* on each
side.Brrrrr, something is not right.
_______________________________________________
Freetype-devel mailing list
Freetype-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/freetype-devel

Reply via email to