Commit 441506656fbc070234fd1de08629d13a3e60737c

Alexei Podtelezhnikov 2016-01-14T22:55:36

* include/freetype/ftlcdfil.h: Documentation tweak.

diff --git a/include/freetype/ftlcdfil.h b/include/freetype/ftlcdfil.h
index 4a3dad7..3e9f580 100644
--- a/include/freetype/ftlcdfil.h
+++ b/include/freetype/ftlcdfil.h
@@ -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 ::