freetype-devel
[Top][All Lists]
Advanced

[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 07:29:33 +0100 (CET)

> "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
> <http://www.freetype.org/freetype2/docs/reference/ft2-base_interface.html#FT_Render_Mode>,
> the filter adds up to 3 pixels to the left, and up to 3 pixels to
> the right.
> 
> The bitmap offset values are adjusted correctly, so clients
> shouldn't need to modify their layout and glyph positioning code
> when enabling the filter."

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'.

The remark is in the documentation just to notify the user that the
pixmap sizes are larger than probably expected.  Since it confused
you, please improve the wording.


    Werner



reply via email to

[Prev in Thread] Current Thread [Next in Thread]