ref: 441506656fbc070234fd1de08629d13a3e60737c
parent: 21eb64ebeb45928f7df1305c58fd567a4068f302
author: Alexei Podtelezhnikov <[email protected]>
date: Thu Jan 14 17:55:36 EST 2016
* include/freetype/ftlcdfil.h: Documentation tweak.
--- a/include/freetype/ftlcdfil.h
+++ b/include/freetype/ftlcdfil.h
@@ -137,7 +137,8 @@
* 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 @@
* 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 @@
*
* @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 ::