* include/freetype/ftlcdfil.h: Documentation tweak.
This commit is contained in:
parent
21eb64ebeb
commit
441506656f
@ -137,7 +137,8 @@ FT_BEGIN_HEADER
|
||||
* that is more forgiving to screens with non-ideal gamma curves and
|
||||
* viewing angles. Note that while color-fringing is reduced, it can
|
||||
* only be minimized by using linear alpha blending and gamma
|
||||
* correction to render glyphs onto surfaces.
|
||||
* correction to render glyphs onto surfaces. The default filter
|
||||
* weights are [0x08 0x4D 0x56 0x4D 0x08].
|
||||
*
|
||||
* FT_LCD_FILTER_LIGHT ::
|
||||
* The light filter is a variant that is sharper at the cost of
|
||||
@ -147,7 +148,8 @@ FT_BEGIN_HEADER
|
||||
* is less forgiving to screens with non-ideal gamma curves and
|
||||
* viewing angles. This filter works best when the rendering system
|
||||
* uses linear alpha blending and gamma correction to render glyphs
|
||||
* onto surfaces.
|
||||
* onto surfaces. The light filter weights are
|
||||
* [0x00 0x55 0x56 0x55 0x00].
|
||||
*
|
||||
* FT_LCD_FILTER_LEGACY ::
|
||||
* This filter corresponds to the original libXft color filter. It
|
||||
@ -249,9 +251,7 @@ FT_BEGIN_HEADER
|
||||
*
|
||||
* @description:
|
||||
* Use this function to override default or light filter weights
|
||||
* selected by @FT_Library_SetLcdFilter. By default, FreeType uses
|
||||
* the quintuple (0x00, 0x55, 0x56, 0x55, 0x00) for FT_LCD_FILTER_LIGHT,
|
||||
* and (0x08, 0x4D, 0x56, 0x4D, 0x08) for FT_LCD_FILTER_DEFAULT.
|
||||
* selected by @FT_Library_SetLcdFilter.
|
||||
*
|
||||
* @input:
|
||||
* library ::
|
||||
|
Loading…
Reference in New Issue
Block a user