Re: [ft-devel] SetLcdFilter docs

2016-01-19 Thread Werner LEMBERG
> 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

Re: [ft-devel] SetLcdFilter docs

2016-01-19 Thread Alexei Podtelezhnikov
> > > "...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_P

Re: [ft-devel] SetLcdFilter docs

2016-01-18 Thread Werner LEMBERG
> "If this feature is activated, the dimensions of LCD glyph bitmaps > are either larger or taller than the dimensions of the corresponding > outline with regards to the pixel grid. For example, for > FT_RENDER_MODE_LCD >