freetype-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[freetype2] master 4415066: * include/freetype/ftlcdfil.h: Documentation


From: Alexei Podtelezhnikov
Subject: [freetype2] master 4415066: * include/freetype/ftlcdfil.h: Documentation tweak.
Date: Fri, 15 Jan 2016 03:56:08 +0000

branch: master
commit 441506656fbc070234fd1de08629d13a3e60737c
Author: Alexei Podtelezhnikov <address@hidden>
Commit: Alexei Podtelezhnikov <address@hidden>

    * include/freetype/ftlcdfil.h: Documentation tweak.
---
 include/freetype/ftlcdfil.h |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

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 ::



reply via email to

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