[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ft-devel] SetLcdFilter docs
From: |
Werner LEMBERG |
Subject: |
Re: [ft-devel] SetLcdFilter docs |
Date: |
Tue, 19 Jan 2016 18:31:17 +0100 (CET) |
> 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.
Do you have time and interest to investigate? It's not an urgent
thing since everything seems to work just fine...
Werner