freetype2/include/freetype/internal
Nikolaus Waxweiler 2e9519885b Add face property for LCD filter weights.
* include/freetype/ftlcdfil.h (FT_PARAM_TAG_LCD_FILTER_WEIGHTS,
FT_LCD_FILTER_FIVE_TAPS): New macros.
(FT_LcdFiveTapFilter): New typedef.

* include/freetype/ftobjs.h (FT_Face_InternalRec)
[FT_CONFIG_OPTION_SUBPIXEL_RENDERING]: Add `lcd_weights' field.
(FT_Bitmap_LcdFilterFunc): Change third argument to weights array.
(ft_lcd_filter_fir): New prototype.
(FT_LibraryRec): Updated.

* src/base/ftlcdfil.c (_ft_lcd_filter_fir): Renamed to...
(ft_lcd_filter_dir): ... this base function.
Updated.
(_ft_lcd_filter_legacy): Updated.
(FT_Library_SetLcdFilterWeights, FT_Library_SetLcdFilter): Updated.

* src/base/ftobjs.c (ft_open_face_internal): Updated.
(FT_Face_Properties): Handle FT_PARAM_TAG_LCD_FILTER_WEIGHTS.

* src/smooth/ftsmooth.c (ft_smooth_render_generic)
[FT_CONFIG_OPTION_SUBPIXEL_RENDERING: Handle LCD weights from
`FT_Face_Internal'.
2017-02-16 20:45:45 +01:00
..
services Make compilation with FT_CONFIG_OPTION_PIC work again. 2017-02-02 07:13:29 +01:00
autohint.h Update copyright year. 2017-01-04 20:16:34 +01:00
ftcalc.h Update copyright year. 2017-01-04 20:16:34 +01:00
ftdebug.h Update copyright year. 2017-01-04 20:16:34 +01:00
ftdriver.h Update copyright year. 2017-01-04 20:16:34 +01:00
ftgloadr.h Update copyright year. 2017-01-04 20:16:34 +01:00
fthash.h Don't use macro names that contain `__' [1/2]. 2016-01-12 21:37:13 +01:00
ftmemory.h Update copyright year. 2017-01-04 20:16:34 +01:00
ftobjs.h Add face property for LCD filter weights. 2017-02-16 20:45:45 +01:00
ftpic.h Update copyright year. 2017-01-04 20:16:34 +01:00
ftrfork.h Update copyright year. 2017-01-04 20:16:34 +01:00
ftserv.h Add framework to support services with 9 functions. 2017-01-31 19:11:56 +01:00
ftstream.h Update copyright year. 2017-01-04 20:16:34 +01:00
fttrace.h Update copyright year. 2017-01-04 20:16:34 +01:00
ftvalid.h Update copyright year. 2017-01-04 20:16:34 +01:00
internal.h Update copyright year. 2017-01-04 20:16:34 +01:00
psaux.h Update copyright year. 2017-01-04 20:16:34 +01:00
pshints.h Update copyright year. 2017-01-04 20:16:34 +01:00
sfnt.h Update copyright year. 2017-01-04 20:16:34 +01:00
t1types.h Update copyright year. 2017-01-04 20:16:34 +01:00
tttypes.h [sfnt] Support `name' table format 1. 2017-01-26 21:41:38 +01:00